After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 322857 - [mpeg2dec] Seeking in byte format
[mpeg2dec] Seeking in byte format
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
git master
Other Linux
: Normal normal
: 0.10.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-30 16:35 UTC by Josef Zlomek
Modified: 2005-12-21 10:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
seek in bytes (799 bytes, patch)
2005-11-30 16:35 UTC, Josef Zlomek
rejected Details | Review

Description Josef Zlomek 2005-11-30 16:35:19 UTC
When mpeg2dec receives a seek event with format GST_FORMAT_BYTES, the function
normal_seek returns failure because it is not able to convert bytes to time.
The attached patch makes the function to redirect the byte seeking event to its
predecessor (usually demuxer or source).
Comment 1 Josef Zlomek 2005-11-30 16:35:43 UTC
Created attachment 55434 [details] [review]
seek in bytes
Comment 2 Tim-Philipp Müller 2005-12-21 10:28:05 UTC
This should fix it as well (if not, please re-open):

2005-12-21  Tim-Philipp Müller  <tim at centricular dot net>

       * ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_src_event):
         When getting a seek event, first check if the upstream element
         can handle it and only do our own seek stuff when it can't
         (should fix #322856).