From: Thomas V. S. <tho...@us...> - 2002-06-02 15:51:23
|
CVS Root: /cvsroot/gstreamer Module: gst-plugins Changes by: thomasvs Date: Sun Jun 02 2002 08:51:21 PDT Log message: UNITS fixes Modified files: gst/avi : gstavidemux.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/gst/avi/gstavidemux.c.diff?r1=1.29&r2=1.30 ====Begin Diffs==== Index: gstavidemux.c =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/gst/avi/gstavidemux.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- gstavidemux.c 2 Jun 2002 11:57:13 -0000 1.29 +++ gstavidemux.c 2 Jun 2002 15:51:08 -0000 1.30 @@ -755,7 +755,7 @@ 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 @@ 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 @@ 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: { |