diff options
author | David Schleef <ds@schleef.org> | 2008-02-29 06:18:55 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2008-02-29 06:18:55 +0000 |
commit | a2104e099424d9f00ad7f0df0671ae820e499d0f (patch) | |
tree | b6ca630be0e3bbbcf3650bbc20aa891ff3121dee /gst/matroska/matroska-demux.c | |
parent | 1a90a6c4dc6a220a50e762915639ac68bf1f2b46 (diff) |
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.
Diffstat (limited to 'gst/matroska/matroska-demux.c')
-rw-r--r-- | gst/matroska/matroska-demux.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |