gst_video_overlay_set_window_handle from GTK#

doon don-prog at mail.ru
Tue Jan 5 19:20:24 PST 2016


Sebastian Dröge-3 wrote
> On Mo, 2015-12-28 at 18:46 -0800, doon wrote:
>> Thanks, I linked my shared library with libgstvideo-1.0.so using this:
>> target_link_libraries(${PROJECT_NAME} gstvideo-1.0). Now C# app working
>> without exceptions, but the same code(as in the my first post) plays
>> audio
>> but my "screen" widget is just empty - I don't see any video. 
>> What did I do wrong?
> 
> You'll have to check if you actually pass the correct values to the
> GstVideoOverlay interface. If the window XIDs there are actually the
> ones of your widgets.
> 
> Also check if they are received by whatever video sink you're using
> (which one are you using?) and if they are there *before* the sink
> element goes to READY state.
> 
> -- 
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
> 
> 
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel at .freedesktop

> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> 
> signature.asc (968 bytes)
> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4675075/0/signature.asc>

I found solution.
The problem was due to using wrong GTK widget: I used image widget, but I
had to use drawingarea. Simple but painful mistake.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gst-video-overlay-set-window-handle-from-GTK-tp4675032p4675122.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list