summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2004-05-13 11:32:42 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2004-05-13 11:32:42 +0000
commit2d80a4aaa673e815dc4c621326535eb24c8e9f8d (patch)
treecd07bdf73166b41827303ec452fe5a07bf6c1f54 /ext
parent5a3704a4f0a1aaae2587f2c34fcf1ec0d2298c23 (diff)
Report which format was used for GST_FORMAT_DEFAULT in dvdec
Original commit message from CVS: Report which format was used for GST_FORMAT_DEFAULT in dvdec Add progressreport element for testing.
Diffstat (limited to 'ext')
-rw-r--r--ext/dv/gstdvdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c
index 711a9538..0e9d3e1f 100644
--- a/ext/dv/gstdvdec.c
+++ b/ext/dv/gstdvdec.c
@@ -155,7 +155,7 @@ gst_dvdec_quality_get_type (void)
{2, "DV_QUALITY_AC_2", "Highest quality mono decoding"},
{3, "DV_QUALITY_DC|DV_QUALITY_COLOUR", "Fastest colour decoding"},
{4, "DV_QUALITY_AC_1|DV_QUALITY_COLOUR",
- "Colour, using only the first AC coefficient"},
+ "Colour, using only the first AC coefficient"},
{5, "DV_QUALITY_BEST", "Highest quality colour decoding"},
};
@@ -426,6 +426,7 @@ gst_dvdec_src_convert (GstPad * pad, GstFormat src_format, gint64 src_value,
scale = dvdec->decoder->audio->num_channels * 2;
/* fallthrough */
case GST_FORMAT_DEFAULT:
+ *dest_format = GST_FORMAT_TIME;
if (pad == dvdec->videosrcpad)
*dest_value = src_value * dvdec->framerate * scale / GST_SECOND;
else if (pad == dvdec->audiosrcpad)