diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2015-04-03 17:08:30 +0300 |
---|---|---|
committer | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | 2015-04-03 17:08:30 +0300 |
commit | c561b8da8aa266963cbe8fc6e1d43984e2a44aed (patch) | |
tree | 4507036ff32399aaf57b604196b06067771f99c2 /tests | |
parent | 1256ce613ae3082285757fb9763e970b703229ac (diff) |
update and move gstcompat.h
The purpose of gstcompat.h is to couple the API differences among
gstreamer-1.0 and gstreamer-0.10. Since gstreamer-0.10 is obsolete, the code
in this compatibility layer shall be removed.
Nevertheless, the gstcompat.h header should be kept, if new incompatibilites
appear in the future, but it shall live in gst/vaapi, not in gst-libs.
This patch removes the crumbs defined gstcompat.h and moves it to gst/vaapi.
In order to avoid layer violations, gstcompat.h includes sysdeps.h and all
the includes in gst/vaapi of sysdeps.h are replaced with gstcompat.h
https://bugzilla.gnome.org/show_bug.cgi?id=745728
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/codec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/codec.c b/tests/codec.c index 0269ae6c..b30c0af4 100644 --- a/tests/codec.c +++ b/tests/codec.c @@ -42,7 +42,7 @@ static const CodecMap g_codec_map[] = { { "wmv3", GST_VAAPI_CODEC_VC1, "video/x-wmv, wmvversion=3" }, { "vc1", GST_VAAPI_CODEC_VC1, - "video/x-wmv, wmvversion=3, " GST_MAKE_FORMAT_STRING(WVC1) }, + "video/x-wmv, wmvversion=3, format=(string)WVC1" }, { NULL, } }; @@ -156,8 +156,8 @@ codec_identifier_new(const gchar *filename) goto error; tfp = &cip->type_find; - tfp->peek = (GstTypeFindPeekFunction)codec_identifier_peek; - tfp->suggest = (GstTypeFindSuggestFunction)codec_identifier_suggest; + tfp->peek = codec_identifier_peek; + tfp->suggest = codec_identifier_suggest; tfp->data = cip; return cip; |