From a1bdcdc0c890aa5ca7547780e45966b0cf6b1980 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 2 Jun 2002 15:51:08 +0000 Subject: UNITS fixes Original commit message from CVS: UNITS fixes --- gst/avi/gstavidemux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/avi/gstavidemux.c') diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index 1639d040..dbfd5585 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -755,7 +755,7 @@ gst_avi_demux_handle_src_query (GstPad *pad, GstPadQueryType type, else res = FALSE; break; - case GST_FORMAT_UNIT: + case GST_FORMAT_UNITS: if (stream->strh.type == GST_RIFF_FCC_auds) *value = stream->strh.length * stream->strh.samplesize; else if (stream->strh.type == GST_RIFF_FCC_vids) @@ -782,7 +782,7 @@ gst_avi_demux_handle_src_query (GstPad *pad, GstPadQueryType type, case GST_FORMAT_BYTES: *value = stream->current_byte; break; - case GST_FORMAT_UNIT: + case GST_FORMAT_UNITS: if (stream->strh.type == GST_RIFF_FCC_auds) *value = stream->current_byte * stream->strh.samplesize; else if (stream->strh.type == GST_RIFF_FCC_vids) @@ -880,7 +880,7 @@ gst_avi_demux_handle_src_event (GstPad *pad, GstEvent *event) case GST_EVENT_SEEK: switch (GST_EVENT_SEEK_FORMAT (event)) { case GST_FORMAT_BYTES: - case GST_FORMAT_UNIT: + case GST_FORMAT_UNITS: break; case GST_FORMAT_TIME: { -- cgit