Change-Id: I9a24e0d787097dd4c14fd388c0502438a727d737
granpos there, but it's fairly likely */
position =
ogg->push_byte_length - DURATION_CHUNK_OFFSET - EOS_AVOIDANCE_THRESHOLD;
- if (position < 0)
- position = 0;
+ if (position < 0) {
+ if (ogg->push_byte_length > EOS_AVOIDANCE_THRESHOLD)
+ position = ogg->push_byte_length - (EOS_AVOIDANCE_THRESHOLD / 2);
+ else
+ position = 0;
+ }
GST_DEBUG_OBJECT (ogg,
"Getting duration, seeking near the end, to %" G_GINT64_FORMAT, position);
Name: gst-plugins-base
Summary: GStreamer streaming media framework base plug-ins
Version: 0.10.36
-Release: 22
+Release: 23
Group: Applications/Multimedia
License: LGPLv2+
Source0: %{name}-%{version}.tar.gz