From a2104e099424d9f00ad7f0df0671ae820e499d0f Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 29 Feb 2008 06:18:55 +0000 Subject: gst/matroska/: Fix Dirac mapping. I had previously added a VfW-type mapping, but it looks like Dirac will get a nati... Original commit message from CVS: * gst/matroska/matroska-demux.c: * gst/matroska/matroska-ids.h: * gst/matroska/matroska-mux.c: Fix Dirac mapping. I had previously added a VfW-type mapping, but it looks like Dirac will get a native Matroska mapping, and this is the most likely method. --- gst/matroska/matroska-demux.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gst/matroska/matroska-demux.c') diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 8feaa387..7f0f48f8 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -3652,6 +3652,9 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext * } else if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_VIDEO_THEORA)) { caps = gst_caps_new_simple ("video/x-theora", NULL); context->send_xiph_headers = TRUE; + } else if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_VIDEO_DIRAC)) { + caps = gst_caps_new_simple ("video/x-dirac", NULL); + context->send_xiph_headers = FALSE; } else { GST_WARNING ("Unknown codec '%s', cannot build Caps", codec_id); return NULL; -- cgit