Problem with Vorbis and Theora file on Android

Sebastian Dröge sebastian at centricular.com
Mon May 2 06:06:00 UTC 2016


On So, 2016-05-01 at 18:34 -0700, doon wrote:
> This string describes how I get a window handle:
>  gst_video_overlay_set_window_handle(GST_VIDEO_OVERLAY(video_sink),
> this->ui->playback_widget->winId()); 
> //playback_widget - QOpenGLWidget, I also tried some other output widgets
> 
> And same code works on all other platforms, but not on Android.
> I know, I need to get the pointer to ANativeWindow, but how can I get this
> with Qt on Android? Any help or tip will be very usefull.

This does not describe anything really and your question is more a Qt
question than a GStreamer one. You need an ANativeWindow in any case.

You'll have to understand what winId exactly returns on Android, it
might for example be a Java Surface object, from which you can then get
the ANativeWindow via NDK API.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160502/82f8a7bb/attachment.sig>


More information about the gstreamer-devel mailing list