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 445505 - queue2: It does not work in pull mode with oggdemux
queue2: It does not work in pull mode with oggdemux
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal normal
: 0.10.14
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-08 14:07 UTC by Thiago Sousa Santos
Modified: 2015-03-15 13:34 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
Fixes the problem (1.53 KB, patch)
2007-06-08 14:09 UTC, Thiago Sousa Santos
none Details | Review
commited the wrong file on previous patch. (1.54 KB, patch)
2007-06-08 17:50 UTC, Thiago Sousa Santos
committed Details | Review

Description Thiago Sousa Santos 2007-06-08 14:07:42 UTC
Please describe the problem:
oggdemux is not able to work on pull mode with queue2 because the duration query it sends upstream doesn't get answered.

Steps to reproduce:
1. use a pipeline that links queue2 to oggdemux and set temp-location property on queue2
2. 
3. 


Actual results:
The application quits.

Expected results:
The application should play the stream.

Does this happen every time?
Yes

Other information:
Comment 1 Thiago Sousa Santos 2007-06-08 14:09:18 UTC
Created attachment 89607 [details] [review]
Fixes the problem

This patch will make queue2 block the query until it receives the first buffer (meaning that the upstream elements are at least paused). The query is then passed upstream and oggdemux can get the stream length.
Comment 2 Thiago Sousa Santos 2007-06-08 17:50:15 UTC
Created attachment 89619 [details] [review]
commited the wrong file on previous patch.
Comment 3 Wim Taymans 2007-06-11 11:34:19 UTC
        Based on patch by: Thiago Sousa Santos <thiagossantos at gmail dot com>

        * gst/playback/gstqueue2.c: (gst_queue_peer_query),
        (gst_queue_handle_src_query):
        Wait for preroll before attempting to forward a duration query upstream.
        Fixes #445505.