asf: don't use fourcc
This commit is contained in:
parent
39b0b4e27f
commit
d4f1303f57
@ -2244,7 +2244,7 @@ gst_asf_demux_add_video_stream (GstASFDemux * demux,
|
|||||||
|
|
||||||
if (caps == NULL) {
|
if (caps == NULL) {
|
||||||
caps = gst_caps_new_simple ("video/x-asf-unknown", "fourcc",
|
caps = gst_caps_new_simple ("video/x-asf-unknown", "fourcc",
|
||||||
GST_TYPE_FOURCC, video->tag, NULL);
|
G_TYPE_UINT, video->tag, NULL);
|
||||||
} else {
|
} else {
|
||||||
GstStructure *s;
|
GstStructure *s;
|
||||||
gint ax, ay;
|
gint ax, ay;
|
||||||
@ -2274,7 +2274,7 @@ gst_asf_demux_add_video_stream (GstASFDemux * demux,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* add fourcc format to caps, some proprietary decoders seem to need it */
|
/* add fourcc format to caps, some proprietary decoders seem to need it */
|
||||||
gst_caps_set_simple (caps, "format", GST_TYPE_FOURCC, video->tag, NULL);
|
gst_caps_set_simple (caps, "format", G_TYPE_UINT, video->tag, NULL);
|
||||||
|
|
||||||
if (codec_name) {
|
if (codec_name) {
|
||||||
tags = gst_tag_list_new ();
|
tags = gst_tag_list_new ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user