mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
flvdemux: Add support for H263 and MPEG4 part2
https://bugzilla.gnome.org/show_bug.cgi?id=768006
This commit is contained in:
parent
1e16fb2d4f
commit
6ac02f8595
1 changed files with 8 additions and 0 deletions
|
@ -1303,6 +1303,14 @@ gst_flv_demux_video_negotiate (GstFlvDemux * demux, guint32 codec_tag)
|
|||
gst_caps_new_simple ("video/x-h264", "stream-format", G_TYPE_STRING,
|
||||
"avc", NULL);
|
||||
break;
|
||||
case 8:
|
||||
caps = gst_caps_new_empty_simple ("video/x-h263");
|
||||
break;
|
||||
case 9:
|
||||
caps =
|
||||
gst_caps_new_simple ("video/mpeg", "mpegversion", G_TYPE_INT, 4,
|
||||
"systemstream", G_TYPE_BOOLEAN, FALSE, NULL);
|
||||
break;
|
||||
default:
|
||||
GST_WARNING_OBJECT (demux, "unsupported video codec tag %u", codec_tag);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue