qtmux: Add direct dirac mapping

This commit is contained in:
David Schleef 2011-07-06 17:18:05 -07:00
parent ae87731de5
commit 4dcc9ee42a
2 changed files with 5 additions and 0 deletions

View file

@ -3120,6 +3120,9 @@ gst_qt_mux_video_sink_set_caps (GstPad * pad, GstCaps * caps)
} else if (strcmp (mimetype, "video/x-vp8") == 0) {
entry.fourcc = FOURCC_VP80;
sync = FALSE;
} else if (strcmp (mimetype, "video/x-dirac") == 0) {
entry.fourcc = FOURCC_drac;
qtpad->have_dts = TRUE;
} else if (strcmp (mimetype, "video/x-qt-part") == 0) {
guint32 fourcc;

View file

@ -168,6 +168,8 @@ GstQTMuxFormatProp gst_qt_mux_format_list[] = {
"image/jpeg, "
COMMON_VIDEO_CAPS_NO_FRAMERATE "; "
"video/x-vp8, "
COMMON_VIDEO_CAPS "; "
"video/x-dirac, "
COMMON_VIDEO_CAPS "; " "video/x-qt-part, " COMMON_VIDEO_CAPS),
GST_STATIC_CAPS (PCM_CAPS_FULL "; "
MP3_CAPS " ; "