diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-06-02 11:57:13 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-06-02 11:57:13 +0000 |
commit | 8b094e02a991f2599325012de557a9235a934a90 (patch) | |
tree | dd6eb677db7145cc800564074c90a332e10de163 /sys | |
parent | c717ac899e247405068988915ad6751133e2e558 (diff) |
Remove media specific seeking type in favour of unit. xvimage compile fix.
Original commit message from CVS:
Remove media specific seeking type in favour of unit.
xvimage compile fix.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/oss/gstosssink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/oss/gstosssink.c b/sys/oss/gstosssink.c index 831c24e65..c0bc4bd3f 100644 --- a/sys/oss/gstosssink.c +++ b/sys/oss/gstosssink.c @@ -595,7 +595,7 @@ gst_osssink_convert (GstPad *pad, GstFormat src_format, gint64 src_value, case GST_FORMAT_TIME: *dest_value = src_value * GST_SECOND / osssink->bps; break; - case GST_FORMAT_SAMPLES: + case GST_FORMAT_UNIT: *dest_value = src_value / (osssink->channels * osssink->width); break; default: @@ -609,14 +609,14 @@ gst_osssink_convert (GstPad *pad, GstFormat src_format, gint64 src_value, case GST_FORMAT_BYTES: *dest_value = src_value * osssink->bps / GST_SECOND; break; - case GST_FORMAT_SAMPLES: + case GST_FORMAT_UNIT: *dest_value = osssink->frequency; break; default: res = FALSE; } break; - case GST_FORMAT_SAMPLES: + case GST_FORMAT_UNIT: switch (*dest_format) { case GST_FORMAT_DEFAULT: *dest_format = GST_FORMAT_TIME; |