Commit graph

87 commits

Author SHA1 Message Date
Víctor Manuel Jáquez Leal
64a73ff36b playback/player: gtk-play: remove unused callback 2015-07-20 20:31:45 +03:00
Víctor Manuel Jáquez Leal
0a38d36996 playback/player: gtk-play: remove unused variables 2015-07-20 20:31:45 +03:00
Brijesh Singh
b59a893da7 playback/player: gtk-play: add support to build UI through gtkbuilder
- build toolbar ui from glade generated xml files
- build media info dialog from glade generated xml files
- add support to apply css style on widget
- multiple cleanups
2015-07-07 23:49:09 +03:00
Sebastian Dröge
cce3ab6381 playback/player: gtk-play: Add close button to the playback speed dialog 2015-06-16 09:54:25 +02:00
Brijesh Singh
efd3c03ab2 playback/player: gtk-play: add playback rate control menu item 2015-06-16 09:52:18 +02:00
Sebastian Dröge
3afafa30c6 playback/player: gtk: Also use gtksink if available 2015-06-15 20:55:29 +02:00
Víctor Manuel Jáquez Leal
ba1ea11823 playback/player: gtk-play: remove unused variables 2015-06-11 20:11:31 +02:00
Sebastian Dröge
40e21cea24 playback/player: gtk: Inhibit the screen saver when playing something 2015-06-11 18:52:12 +02:00
Sebastian Dröge
b5e35ad70b playback/player: gtk: Port to GtkApplication
And also clean up some other things.

https://github.com/sdroege/gst-player/issues/56
2015-06-11 18:42:38 +02:00
Sebastian Dröge
362b5ce2a5 playback/player: gtk: Remove redundant code 2015-06-11 16:25:49 +02:00
Sebastian Dröge
78142bf4ea playback/player: gtk: Use gtkglsink if available 2015-06-11 15:12:56 +02:00
Brijesh Singh
2a2c10ac25 playback/player: gtk-play: use volume-changed signal from player to update the volume slider. 2015-06-11 14:32:25 +02:00
Víctor Manuel Jáquez Leal
80eefca0d1 playback/player: gtk-play: color balance dialog 2015-06-11 14:27:38 +02:00
Sebastian Dröge
b647f6858a playback/player: gtk: Only go to PLAYING with the next file if we were in PLAYING state before
Otherwise setting a subtitle URI in PAUSED will automatically go to PLAYING.
2015-06-11 13:09:25 +02:00
Víctor Manuel Jáquez Leal
91379afe55 playback/player: gtk-play: remove unused variables 2015-06-10 22:38:35 +02:00
Víctor Manuel Jáquez Leal
ddc42da7fe playback/player: gtk-play: destroy dialog's parent window 2015-06-10 22:38:09 +02:00
danny song
07a074be04 playback/player: gtk-play: remove duplicate code 2015-06-10 22:33:21 +02:00
danny song
76fb77bfe8 playback/player: gtk-play: move play_current_uri after the signal handler registration 2015-06-10 22:30:09 +02:00
Sebastian Dröge
5aa6c468a0 playback/player: player: Change visualization API a bit to be more user friendly and fix some leaks and other bugs 2015-05-30 11:35:25 +02:00
Sebastian Dröge
999365f0d2 playback/player: Fix indention 2015-05-30 10:48:34 +02:00
Brijesh Singh
b69cbd6b70 playback/player: gtk-player: add visualization selection menu item. 2015-05-20 08:24:52 -05:00
Brijesh Singh
571cdae9da playback/player: gtk-play: add external subtitle selection menu 2015-05-19 10:34:49 -05:00
Sebastian Dröge
ddd7213959 playback/player: ios: Cast the seek slider value from float to integer after scaling
https://github.com/sdroege/gst-player/issues/33
2015-05-13 22:30:48 +03:00
Brijesh Singh
75404ed8e3 playback/player: gtk-play: move duplicate code into one function 2015-05-12 10:59:16 +03:00
Sebastian Dröge
21eb4b1ac7 playback/player: android: Unref player in native_free()
This makes sure it is actually shut down and does not emit any signals anymore
later, and also prevents a memory leak.
2015-05-11 09:23:27 +02:00
Sebastian Roth
4e899336b3 playback/player: README.md formatting. 2015-05-11 08:50:41 +02:00
Brijesh Singh
562c06c150 playback/player: gtk-play: add Open, Quit, Next and Previous menu items in popup menu. 2015-05-11 08:48:12 +02:00
Brijesh Singh
329902bcda playback/player: gtk-play: hide toolbar in fullscreen mode. 2015-05-11 08:48:12 +02:00
Brijesh Singh
f904897493 playback/player: gtk-play: add fullscreen button 2015-05-08 15:50:07 +02:00
Brijesh Singh
eb42154608 playback/player: gst-play: add playlist loop command line option 2015-05-08 15:50:07 +02:00
Brijesh Singh
9a7d2f031f playback/player: gtk-play: add playlist loop button. 2015-05-08 15:50:07 +02:00
Brijesh Singh
15b1167746 playback/player: gtk-play: do not set window title in resume button cb.
Window title is set from media-info-updated signal hence
updating the window title in resume button callback will override
the title set from media-info-updated signal.
2015-05-08 10:12:31 +02:00
Brijesh Singh
1b1aed87c5 playback/player: gtk-play: display cover art
We maintain two drawing widgets, image and video. Cover art is drawn in
image widget and video is rendered in video widget. Based on the following
conditions we show either image or video widget:

- if media info does not have active video stream then hide video widget
  and show image widget.
- if media info contains active video stream then show video widget and
  hide the image widget.
2015-05-08 10:12:31 +02:00
Sebastian Roth
d33cc6c876 playback/player: android: Fix Windows build of the app
Fixes #36
2015-05-08 10:06:11 +02:00
Sebastian Roth
a31f95d06d playback/player: android: Use gradle & ndk-build combo to generate the Android App
Also add a video List selector.
2015-05-07 14:58:03 +02:00
Sebastian Dröge
59d822fc2b playback/player: gtk-play: Fix compiler warning
gtk-play.c:269:60: warning: passing 'gint *' (aka 'int *') to parameter of type 'guint *' (aka 'unsigned int *') converts between pointers to integer types
      with different sign [-Wpointer-sign]
      gst_player_video_info_get_pixel_aspect_ratio (video, &par_n, &par_d);
                                                           ^~~~~~
../lib/gst/player/gstplayer-media-info.h:92:57: note: passing argument to parameter 'par_n' here
                (const GstPlayerVideoInfo* info, guint *par_n, guint *par_d);
                                                        ^
gtk-play.c:269:68: warning: passing 'gint *' (aka 'int *') to parameter of type 'guint *' (aka 'unsigned int *') converts between pointers to integer types
      with different sign [-Wpointer-sign]
      gst_player_video_info_get_pixel_aspect_ratio (video, &par_n, &par_d);
                                                                   ^~~~~~
../lib/gst/player/gstplayer-media-info.h:92:71: note: passing argument to parameter 'par_d' here
                (const GstPlayerVideoInfo* info, guint *par_n, guint *par_d);
                                                                      ^
2015-05-07 13:21:52 +02:00
Sebastian Dröge
7396c221ed playback/player: Fix indention 2015-05-07 13:21:02 +02:00
Brijesh Singh
1232e80e20 playback/player: gtk-play: add track selection menu 2015-05-07 13:20:35 +02:00
Brijesh Singh
bbc6f056b1 playback/player: gtk-play: variable rename for consistency
rename media_info varible holding button state to be consistent with others.
2015-05-07 13:20:35 +02:00
Brijesh Singh
653c8c973e playback/player: gtk-play: handle duplicate uri in playlist
current logic does not play all the files from playlist if the list contains
a duplicate uris.
2015-05-07 13:20:35 +02:00
Brijesh Singh
88e7131ae7 playback/player: gtk-play: set window title from media information
If media contains title then use it to set player window title.
2015-05-07 13:20:35 +02:00
Brijesh Singh
611f3cde4b playback/player: gtk-play: remove gtk deprecated API. 2015-05-07 13:20:35 +02:00
Sebastian Dröge
544c51fe11 playback/player: Fix indention 2015-05-06 10:58:27 +02:00
Brijesh Singh
ef751e3dfd playback/player: gst-play: display global taglist 2015-05-06 10:55:08 +02:00
Alex Moreno
696e1c9ab8 playback/player: android: fixed compilation error 2015-05-06 10:43:28 +02:00
Alex Moreno
261081aade playback/player: android: check return values from JNI methods in 'JNI_OnLoad' 2015-05-06 10:43:28 +02:00
Alex Moreno
c3928830cf playback/player: android: remove unused variable 'gst_app_thread' 2015-05-06 10:43:28 +02:00
Sebastian Dröge
2a5ba6574f playback/player: android: Add gstplayer-media-info.c to the build
JNI bindings still need updating for the new media info API.

https://github.com/sdroege/gst-player/issues/30
2015-05-04 22:38:15 +02:00
Sebastian Dröge
bf8604dcf3 playback/player: player/gtk: Fix indention 2015-04-26 18:33:00 +02:00
Brijesh Singh
81238fdbcd playback/player: gtk-play: add media information window 2015-04-26 18:33:00 +02:00