[gstreamer-bugs] [Bug 613567] Cannot query stream duration in playbin2 when GST_MESSAGE_DURATION appears on the bus.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Mar 23 15:43:57 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=613567
  GStreamer | gstreamer (core) | 0.10.28

Andoni Morales <ylatuya> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
                 CC|                            |ylatuya at gmail.com
         Resolution|NOTABUG                     |

--- Comment #6 from Andoni Morales <ylatuya at gmail.com> 2010-03-23 22:43:56 UTC ---
It's probably not a bug, but I'm having the same issue and not being able to do
a duration query after receiving the GST_MESSAGE_DURATION on the bus doesn't
seem very logical to me.
My player is based on totem and it has been working since the last GStreamer
release, but after the last GStreamer update I can't query the duration after
receiving the GST_MESSAGE_DURATION in the bus anymore and I have to do it in
the READY to PAUSED transition. (This happens on Windows XP, I'll try later on
linux, but I don't think it will happen since many people should have tested
totem with the last GStreamer release :P)
If this is not the expected behavior why does totem relies on it  and even
prints a debug message when this happens?
http://git.gnome.org/browse/totem/tree/src/backend/bacon-video-widget-gst-0.10.c#n2165
I fixed it in my player with the following patch:
http://git.gnome.org/browse/longomatch/commit/?id=04d2eaaa9132cc64e5d0ed77508a0a7d1d2bd29d

Can you please confirm that this is not really a bug (maybe playbin2 is posting
this message too soon or maybe it only happens on windows), and that what is
done in totem is not the good approach?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list