omxmpeg2dec: mpeg-2 decoder should be able to handle mpeg-1 too

https://bugzilla.gnome.org/show_bug.cgi?id=695879
This commit is contained in:
Tim-Philipp Müller 2013-03-16 13:20:27 +00:00
parent 8231c9068e
commit 9da6ee8727

View file

@ -60,7 +60,7 @@ gst_omx_mpeg2_dec_class_init (GstOMXMPEG2DecClass * klass)
videodec_class->set_format = GST_DEBUG_FUNCPTR (gst_omx_mpeg2_dec_set_format); videodec_class->set_format = GST_DEBUG_FUNCPTR (gst_omx_mpeg2_dec_set_format);
videodec_class->cdata.default_sink_template_caps = "video/mpeg, " videodec_class->cdata.default_sink_template_caps = "video/mpeg, "
"mpegversion=(int) 2, " "mpegversion=(int) [1, 2], "
"systemstream=(boolean) false, " "parsed=(boolean) true"; "systemstream=(boolean) false, " "parsed=(boolean) true";
gst_element_class_set_static_metadata (element_class, gst_element_class_set_static_metadata (element_class,