diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2002-06-02 15:51:08 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2002-06-02 15:51:08 +0000 |
commit | a1bdcdc0c890aa5ca7547780e45966b0cf6b1980 (patch) | |
tree | 15f62e194624a40a1989c275565fb75563cc2eb7 /gst | |
parent | 550242d8c8ec5ab9afd3a98b7b78f6a7badc86ee (diff) |
UNITS fixes
Original commit message from CVS:
UNITS fixes
Diffstat (limited to 'gst')
-rw-r--r-- | gst/avi/gstavidemux.c | 6 |
1 files changed, 3 insertions, 3 deletions
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: { |