[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-devel
Subject: Re: [gst-devel] g_main_loop
From: Robert Scott <robert.b.scott () sbcglobal ! net>
Date: 2006-06-29 15:43:42
Message-ID: 7762D921-3EA0-4C2D-8926-21D024CFFBB9 () sbcglobal ! net
[Download RAW message or body]
Hello Andy,
I am using 0.10. I believe that I may have actually uncovered the
real issue indirectly by switching to g_object. It appears that the
gst_element_query_position and gst_element_query_duration do not
handle the case when the playbin is not either in the PLAYING or
PAUSED state. Whenever I call this functions from another state,
than it appears to render the playbin unusable.
I started noticing this behavior as I was piecing my program back
together and reintegrating all of the functionality in the new
model. When I reinserted the queries for position, things stopped
working. When I added checks to see what state the playbin was in,
everything started working again.
Does that make any sense?
--robert
> Hi Robert,
>
> On Sat, 2006-06-24 at 16:10 -0700, Robert Scott wrote:
>
>> I guess that calling gst_element_set_state is
>> not thread safe.
>>
>
> Not sure what you're up to, but that function is definitely threadsafe
> in 0.10.
>
>
>> What I had to do was create a new gnome object
>> which wraps all control of gstreamer playbin.
>>
>
> Unnecessary. You probably are not using playbin correctly. There
> should
> be no need to know about threads when using playbin.
>
> Regards,
> --
> Andy Wingo
> http://wingolog.org/
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic