diff options
author | David Schleef <ds@schleef.org> | 2008-02-28 23:56:30 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2008-02-28 23:56:30 +0000 |
commit | 1a90a6c4dc6a220a50e762915639ac68bf1f2b46 (patch) | |
tree | 9d26ec2ea5e5c8019fe926c018dab7d3bbd14dd9 /gst/avi/gstavimux.c | |
parent | 9c814472e56ed0a6c70755cf9c70860a5fb32e08 (diff) |
gst/avi/gstavimux.c: Add Dirac encoding
Original commit message from CVS:
* gst/avi/gstavimux.c: Add Dirac encoding
Diffstat (limited to 'gst/avi/gstavimux.c')
-rw-r--r-- | gst/avi/gstavimux.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c index de692a21..d846fc1d 100644 --- a/gst/avi/gstavimux.c +++ b/gst/avi/gstavimux.c @@ -153,6 +153,9 @@ static GstStaticPadTemplate video_sink_factory = "systemstream = (boolean) FALSE; " "video/x-huffyuv, " "width = (int) [ 16, 4096 ], " + "height = (int) [ 16, 4096 ], " "framerate = (fraction) [ 0, MAX ];" + "video/x-dirac, " + "width = (int) [ 16, 4096 ], " "height = (int) [ 16, 4096 ], " "framerate = (fraction) [ 0, MAX ]") ); @@ -552,6 +555,8 @@ gst_avi_mux_vidsink_set_caps (GstPad * pad, GstCaps * vscaps) avipad->vids.compression = GST_MAKE_FOURCC ('M', 'P', 'E', 'G'); break; } + } else if (!strcmp (mimetype, "video/x-dirac")) { + avipad->vids.compression = GST_MAKE_FOURCC ('d', 'r', 'a', 'c'); } if (!avipad->vids.compression) |