bug in D3DVideoSink?
Eric Trousset
etrousset at awox.com
Fri Mar 7 08:35:57 PST 2014
Hi,
I was able to play a media again if I close the window by hand.
1)
mPipeline = GST_PIPELINE(gst_element_factory_make("playbin", NULL));
g_object_set(G_OBJECT(mPipeline),"uri", "file:///c:/amedia.ts", NULL);
gst_element_set_state(GST_ELEMENT(mPipeline), GST_STATE_PLAYING);
the media is playing
2)
then calling
gst_element_set_state(GST_ELEMENT(mPipeline), GST_STATE_NULL);
the media stop playing, but the window is still there
3)
gst_element_set_state(GST_ELEMENT(mPipeline), GST_STATE_PLAYING);
error, not playing any more.
Now, if I close the window before doing 3, the media plays again;
I'll try to produce logs on Monday.
Regards,
Eric T.
From: gstreamer-devel-bounces at lists.freedesktop.org [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Eloi Bail
Sent: vendredi 7 mars 2014 15:47
To: Discussion of the development of and with GStreamer
Subject: Re: bug in D3DVideoSink?
Can you provide your code and traces using GST_DEBUG ?
On Fri, Mar 7, 2014 at 3:42 AM, Eric Trousset <etrousset at awox.com<mailto:etrousset at awox.com>> wrote:
Yes, I saw this log so I gave a try with 1.2.3 with no luck, the window still stay open, and if I play another media, the fakesink is used...
From: gstreamer-devel-bounces at lists.freedesktop.org<mailto:gstreamer-devel-bounces at lists.freedesktop.org> [mailto:gstreamer-devel-bounces at lists.freedesktop.org<mailto:gstreamer-devel-bounces at lists.freedesktop.org>] On Behalf Of Eloi Bail
Sent: jeudi 6 mars 2014 15:38
To: Discussion of the development of and with GStreamer
Subject: Re: bug in D3DVideoSink?
Hi Eric,
It might be fixed in 1.2.3 version.
Extract from release note :
GStreamer Plugins Bad:
* 722622 : d3dvideosink: Unable to register Direct3D hidden window class
Regards,
Eloi
On Thu, Mar 6, 2014 at 8:46 AM, Eric Trousset <etrousset at awox.com<mailto:etrousset at awox.com>> wrote:
Hi
I'm using gstreamer 1.2.2 on windows 7. (tested with 1.2.3, and have the same behavior)
When I stop the playback of a video (using playbin, and D3DVideoSink ), It seems the Video sink isn't released, even if I put the pipeline to GST_STATE_NULL, and unref it. I checked, and the ref count goes down to 0.
The output window stays open, showing the last played frame. Thus I cannot play any other video until I close the application due to D3DVideoSink failing.
Any idea? Is it something I do wrong, or is it a bug of D3DVindeoSink?
Cheers,
Eric T
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140307/f9019e5c/attachment-0001.html>
More information about the gstreamer-devel
mailing list