qtdemux: Add support for m1v fourcc when subtype is vide
Some special videos with mlv fourcc can't be recognized by qtdemux when the subtype of the video is vide instead of m1v, and will cause negotiation error in subsequent plugin. So make the handle in qtdemux_video_caps. It might be better than nothing. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7855>
This commit is contained in:
parent
36d8243397
commit
a7f35d4f3c
@ -15500,6 +15500,7 @@ qtdemux_video_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
||||
*/
|
||||
case GST_MAKE_FOURCC ('m', 'p', 'e', 'g'):
|
||||
case GST_MAKE_FOURCC ('m', 'p', 'g', '1'):
|
||||
case GST_MAKE_FOURCC ('m', '1', 'v', ' '):
|
||||
_codec ("MPEG-1 video");
|
||||
caps = gst_caps_new_simple ("video/mpeg", "mpegversion", G_TYPE_INT, 1,
|
||||
"systemstream", G_TYPE_BOOLEAN, FALSE, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user