GNOME Bugzilla – Bug 609130
[PATCH] Fix GtkVideoPlayer example for win32
Last modified: 2010-02-13 08:13:26 UTC
Created attachment 153113 [details] [review] 0001-GtkVideoPlayer-Fix-the-way-file-uri-is-set-in-win32 The current GtkVideoPlayer example doesn't set the uri properly on win32. It should set uri=file:///c:/file/path, with one slash before c:/, and the backslashes must be replaced by slahes. The windows sinks, dshowvideosink and directdrawsink are not casted to XOverlay. If that happens, invoke the native functions.
Created attachment 153114 [details] [review] 0002-GtkVideoPlayer-Invoke-native-functions-if-the-the-vi
Created attachment 153115 [details] [review] 0002-GtkVideoPlayer-Invoke-native-functions-if-the-the-vi
(In reply to comment #2) > Created an attachment (id=153115) [details] [review] > 0002-GtkVideoPlayer-Invoke-native-functions-if-the-the-vi I don't like this patch, the real solution would be to add bindings for dshowvideosink and directdrawsink. Could you create them? Just take a look at how the CorePlugins bindings are done for example, it's more or less done automatically.
If you need any help with that feel free to ask :)
Indeed that's what I wanted to do. Should I create a new namespace Gst.BadPlugins?
(In reply to comment #5) > Indeed that's what I wanted to do. Should I create a new namespace > Gst.BadPlugins? Yes, and GoodPlugins for the directdraw stuff (IIRC it's in good)
commit b689dd7e7bfefbeb3fc2913946b6ba53b6ea3de2 Author: Andoni Morales Alastruey <ylatuya@gmail.com> Date: Fri Feb 5 23:39:12 2010 +0100 Fix the way file uri is set in win32
I created bug #609816 for tracking the Windows specific plugins bindings progress. If you need any help with that feel free to ask... Also, if you provide me with the output of elementgen/gsts-xmlinspect directdrawsink ...and the same for all other elements that you need I could add the bindings myself :)