Help: I'm trying to play a video with gstreamer in a `winit` window (my application's window), but it opens a new window instead
Eds Savage
krulex.em at gmail.com
Sat Dec 19 07:52:15 UTC 2020
Is there a way to put these logs in a file (I'm using `cargo run >
debug.txt` but the file is empty)? Also how long should I run it for
because it seemed endless.
El vie, 18 dic 2020 a las 3:30, Sebastian Dröge (<sebastian at centricular.com>)
escribió:
> On Fri, 2020-12-18 at 02:43 -0600, Eds Savage wrote:
>
> this is the repository of my project
> https://github.com/WuChanGG/mechanical_rhythmboard
> at line 51 of media_player.rs calls "start_gstreamer"
> in line 308 of the same file "set_window_handle" is called,
> I don't know if I'm doing something wrong but it's opening the video in a
> new window, has anyone used a `winit` window to play a gstreamer video?
>
>
> I can't try it here as it only works on Windows, but that looks like it
> should work if the handle that is passed there is an actual window handle.
> You set it on playbin before the pipeline starts, which should work fine.
>
> Can you provide a debug log with GST_DEBUG=6? Maybe that gives some more
> information why it doesn't want to use your provided handle.
>
>
> Also (unrelated) you're doing bus.remove_signal_watch() right after
> starting the pipeline. That means you will not get any messages on the bus
> after that anymore, and will certainly never get an EOS message because
> that will happen much later.
>
>
> --
>
> Sebastian Dröge, Centricular Ltd · https://www.centricular.com
> <http://www.centricular.com>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201219/9c273820/attachment.htm>
More information about the gstreamer-devel
mailing list