Commit 1a90a6c4 authored by David Schleef's avatar David Schleef
Browse files

gst/avi/gstavimux.c: Add Dirac encoding

Original commit message from CVS:
* gst/avi/gstavimux.c: Add Dirac encoding
parent 9c814472
2008-02-28 David Schleef <ds@schleef.org>
* gst/avi/gstavimux.c: Add Dirac encoding
2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
Patch by: Peter Kjellerstedt <pkj at axis com>
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment