aboutsummaryrefslogtreecommitdiff
path: root/lib/gtk-vlc-player/gtk-vlc-player.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-10updated CopyrightRobin Haberkorn1-1/+1
2013-06-10gtk-vlc-player widget: fixed VLC callback processing (dead locks)Robin Haberkorn1-6/+38
either libVLC 2.0.5 changed the semantics of their callbacks (they can be invoked from the main thread, i.e. from the VLC method resulting in the event); or GTK+ 2.24 silently changed the type of the GDK mutex from recursive to simple. in either case to avoid GDK mutex deadlocks we must check whether the VLC callback's thread already holds the lock or owns the main context
2012-06-21gtk-vlc-player: set the widget's toplevel window as the fullscreen windows ↵Robin Haberkorn1-7/+25
transient parent * ensures that the fullscreen window will be on the correct screen (for some reason it was already displayed on the correct screen) * ensures that the toplevel window (i.e. the player window) cannot be put above the fullscreen window (this was already ensured by keeping the fullscreen window above all other windows)
2012-06-20keep fullscreen window above all othersRobin Haberkorn1-0/+2
2012-06-20don't set vlc-player's fullscreen window as not-resizableRobin Haberkorn1-2/+0
this causes issues on Linux and is not necessarily required
2012-06-20some gtk-vlc-player fullscreen window propertiesRobin Haberkorn1-0/+12
2012-06-20fixed receiving click events on the gtk-player-widget on WindowsRobin Haberkorn1-14/+81
a workaround was necessary: after playing a movie, poll every 100ms for the availability of the event window created by libVLC (in another thread!) and disable it when found (stopping the g_timeout)
2012-06-19emulate VLC_PLUGIN_PATH support for libvlc < 2.0.0Robin Haberkorn1-1/+31
2012-06-17use more glib macros to improve portabilityRobin Haberkorn1-8/+8
2012-06-07cleaned up success/failure return value confusionRobin Haberkorn1-6/+6
TRUE means successful, FALSE unsuccessful
2012-06-07minor comment formatting changeRobin Haberkorn1-0/+1
2012-06-07added copyright headers and Doxygen @file comments (where they were still ↵Robin Haberkorn1-0/+17
missing)
2012-05-30fixed adjustment handling in gtk-vlc-playerRobin Haberkorn1-10/+86
* reconfigure on set_adjustment() * disconnect signal handlers on dispose()
2012-05-13updated gtk-vlc-player documentation and check object attributesRobin Haberkorn1-53/+83
methods may be invoked after instance disposal, so object attributes may already be unreferenced
2012-05-13documented public API of GtkVlcPlayer widgetRobin Haberkorn1-0/+132
2012-05-12use proper CClosure marshallers for vlc-player and experiment-navigator signalsRobin Haberkorn1-5/+5
the ...VOID__LONG standard marshaller used worked for INT64 but this wasn't guaranteed (size of LONG is platform-dependant) * now, required marshallers are generated if they don't already exist in gobject, if they do, only an alias is defined * every widget has its own marshaller namespace * exclude marshallers from Doxygen docs
2012-05-12add some @bug and @todo infosRobin Haberkorn1-1/+7
2012-05-12make private gtk-vlc-player attributes private (well sort of...) and fix ↵Robin Haberkorn1-99/+162
object destruction (dispose, finalize) * private attributes allow us to remove the vlc.h dependency from the class header (users of the header/widget might not have the header or correct flags to include it) * destruction using _dispose() and _finalize() handlers: vlc references are finalized, while Gtk objects are disposed * in order for reference counting on the GtkObjects to work, their reference counter must be explicitly initialized (side effect of g_object_ref_sink()) * don't use deprecated gtk_object_ref/unref() functions
2012-05-11partially fixed 824dfc05c9af2dfb4299191b7e18e79a540bb2b5: must show ↵Robin Haberkorn1-2/+3
fullscreen window before reparenting into it commit was made under Windows where fullscreen doesn't work anyway
2012-05-11improved fullscreen mode support and cleaned up widget displayingRobin Haberkorn1-6/+6
2012-05-09use only filenames instead of URIs when working with the VLC playerRobin Haberkorn1-16/+35
* under windows, "C:\..." paths are constructed for the quickopen-menu, they are not accepted by libvlc_media_new_location() * support both loading filenames and URIs
2012-05-07fixed vlc player widget's _set_adjustment functionsRobin Haberkorn1-0/+14
care about disconnecting and reconnecting signal handlers
2012-05-07support for setting volume in vlc player widgetRobin Haberkorn1-0/+33
API function and volume adjustment * attached volume button with player widget
2012-05-06adjustment support for the gtk-vlc-player pluginRobin Haberkorn1-23/+66
gtk-vlc-player may be connected to scale widgets (and later on the transcript widget) using GtkAdjustments * the main program has been updated accordingly * the main program also updates the "play" button now
2012-05-05remove unnecessary drawing_area class attribute (gtk-vlc-player)Robin Haberkorn1-8/+9
2012-05-04minor fix: return media load successRobin Haberkorn1-0/+3
2012-05-04fixed fullscreen-mode of gtk-vlc-playerRobin Haberkorn1-23/+18
it's subclassed from GtkAlignment now, so there's always a container for the GtkDrawingArea whose X-Window will be used by libvlc
2012-05-04some header-including cleanupRobin Haberkorn1-2/+1
2012-05-02preliminary player widget based on experiment-player prototypeRobin Haberkorn1-0/+272