mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 11:08:34 +00:00
matroskamux: do not use unoffical V_MJPEG codec id
Since it's not spec'ed, consider it a VfW compatibility case. Many applications (e.g. avidemux) don't understand the unofficial V_MJPEG id. Fixes #659837. Conflicts: gst/matroska/matroska-mux.c
This commit is contained in:
parent
9dcdc413a7
commit
5742352e10
1 changed files with 0 additions and 2 deletions
|
@ -990,8 +990,6 @@ skip_details:
|
||||||
fstr = gst_structure_get_string (structure, "format");
|
fstr = gst_structure_get_string (structure, "format");
|
||||||
if (fstr && strlen (fstr) == 4)
|
if (fstr && strlen (fstr) == 4)
|
||||||
videocontext->fourcc = GST_STR_FOURCC (fstr);
|
videocontext->fourcc = GST_STR_FOURCC (fstr);
|
||||||
} else if (!strcmp (mimetype, "image/jpeg")) {
|
|
||||||
gst_matroska_mux_set_codec_id (context, GST_MATROSKA_CODEC_ID_VIDEO_MJPEG);
|
|
||||||
} else if (!strcmp (mimetype, "video/x-huffyuv") /* MS/VfW compatibility cases */
|
} else if (!strcmp (mimetype, "video/x-huffyuv") /* MS/VfW compatibility cases */
|
||||||
||!strcmp (mimetype, "video/x-divx")
|
||!strcmp (mimetype, "video/x-divx")
|
||||||
|| !strcmp (mimetype, "video/x-dv")
|
|| !strcmp (mimetype, "video/x-dv")
|
||||||
|
|
Loading…
Reference in a new issue