annolinux / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
0 stars 0 forks source link

New function: set subtitle display time #186

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
some movie have little problem, the subtitle is not very suitable for it, 
a little faster or slower then the correct time.

mplayer can use --subdelay to change the subtitle time.

is it possible that gnome-mplayer do this in a GUI way?

Original issue reported on code.google.com by jarry...@gmail.com on 27 May 2009 at 6:56

GoogleCodeExporter commented 8 years ago
We are in a freeze for 0.9.6, but I don't why this can't be added after release.

Original comment by kdeko...@gmail.com on 27 May 2009 at 1:45

GoogleCodeExporter commented 8 years ago
BTW, the hotkeys 'x' and 'z' should adjust the the subtitle delay now.

Original comment by kdeko...@gmail.com on 27 May 2009 at 1:55

GoogleCodeExporter commented 8 years ago
Enhancement is in SVN now.

Original comment by kdeko...@gmail.com on 29 Jun 2009 at 8:13

GoogleCodeExporter commented 8 years ago
For me , it does not work. pressing keys 'x' and 'z' results in message like 
"ignoring key 120" and "ignoring key 122". I am using version 1.0.4. Also 
View->Decrease Subtitle Delay and View->Increase Subtitle Delay do not work and 
they do not show any hotkey associated with them.

Original comment by parthach...@gmail.com on 29 Jul 2011 at 6:20

GoogleCodeExporter commented 8 years ago
Confirmed and fixed in SVN of 1.0.5 (gmtk). It was fixed before and then broken 
when gmtk was enabled.

Original comment by kdeko...@gmail.com on 29 Jul 2011 at 6:50

GoogleCodeExporter commented 8 years ago
After checking out the latest svn, i cannot build anymore.Below is the output 
of "make -j1"

make  all-recursive
make[1]: Entering directory 
`/home/partha_new/Downloads/gnome-mplayer-svn/gnome-mplayer-read-only'
Making all in src
make[2]: Entering directory 
`/home/partha_new/Downloads/gnome-mplayer-svn/gnome-mplayer-read-only/src'
make[3]: Entering directory 
`/home/partha_new/Downloads/gnome-mplayer-svn/gnome-mplayer-read-only/src'
  CC     gui.o
gui.c: In function ‘set_media_player_attributes’:
gui.c:85:71: error: ‘ATTRIBUTE_ENABLE_HARDWARE_CODECS’ undeclared (first 
use in this function)
gui.c:85:71: note: each undeclared identifier is reported only once for each 
function it appears in
gui.c:87:71: error: ‘ATTRIBUTE_ENABLE_CRYSTALHD_CODECS’ undeclared (first 
use in this function)
gui.c:90:70: error: ‘ATTRIBUTE_PREFERRED_AUDIO_LANGUAGE’ undeclared (first 
use in this function)
gui.c:91:70: error: ‘ATTRIBUTE_PREFERRED_SUBTITLE_LANGUAGE’ undeclared 
(first use in this function)
gui.c: In function ‘adjust_layout’:
gui.c:253:17: warning: implicit declaration of function 
‘gmtk_get_allocation’
gui.c:267:9: warning: implicit declaration of function ‘gmtk_get_visible’
gui.c: In function ‘make_panel_and_mouse_invisible’:
gui.c:2430:9: warning: implicit declaration of function ‘gmtk_get_window’
gui.c:2430:9: warning: passing argument 1 of ‘gdk_window_set_cursor’ makes 
pointer from integer without a cast
/usr/include/gtk-2.0/gdk/gdkwindow.h:527:12: note: expected ‘struct GdkWindow 
*’ but argument is of type ‘int’
gui.c:2447:13: warning: passing argument 1 of ‘gdk_window_set_cursor’ makes 
pointer from integer without a cast
/usr/include/gtk-2.0/gdk/gdkwindow.h:527:12: note: expected ‘struct GdkWindow 
*’ but argument is of type ‘int’
gui.c: In function ‘make_panel_and_mouse_visible’:
gui.c:2466:5: warning: passing argument 1 of ‘gdk_window_set_cursor’ makes 
pointer from integer without a cast
/usr/include/gtk-2.0/gdk/gdkwindow.h:527:12: note: expected ‘struct GdkWindow 
*’ but argument is of type ‘int’
gui.c: In function ‘enter_button_callback’:
gui.c:2487:24: warning: passing argument 1 of ‘gdk_draw_rectangle’ makes 
pointer from integer without a cast
/usr/include/gtk-2.0/gdk/gdkdrawable.h:281:6: note: expected ‘struct 
GdkDrawable *’ but argument is of type ‘int’
gui.c: In function ‘leave_button_callback’:
gui.c:2501:24: warning: passing argument 1 of ‘gdk_draw_rectangle’ makes 
pointer from integer without a cast
/usr/include/gtk-2.0/gdk/gdkdrawable.h:281:6: note: expected ‘struct 
GdkDrawable *’ but argument is of type ‘int’
gui.c: In function ‘menuitem_fs_callback’:
gui.c:3464:13: warning: passing argument 1 of ‘gdk_window_reparent’ makes 
pointer from integer without a cast
/usr/include/gtk-2.0/gdk/gdkwindow.h:355:15: note: expected ‘struct GdkWindow 
*’ but argument is of type ‘int’
gui.c:3468:13: warning: passing argument 1 of ‘gdk_window_resize’ makes 
pointer from integer without a cast
/usr/include/gtk-2.0/gdk/gdkwindow.h:347:15: note: expected ‘struct GdkWindow 
*’ but argument is of type ‘int’
gui.c:3566:45: warning: passing argument 2 of 
‘gdk_screen_get_monitor_at_window’ makes pointer from integer without a cast
/usr/include/gtk-2.0/gdk/gdkscreen.h:101:15: note: expected ‘struct GdkWindow 
*’ but argument is of type ‘int’
gui.c:3568:13: warning: passing argument 1 of ‘gdk_window_get_root_origin’ 
makes pointer from integer without a cast
/usr/include/gtk-2.0/gdk/gdkwindow.h:557:12: note: expected ‘struct GdkWindow 
*’ but argument is of type ‘int’
gui.c:3573:13: warning: passing argument 1 of 
‘gdk_x11_window_get_drawable_impl’ makes pointer from integer without a cast
/usr/include/gtk-2.0/gdk/gdkx.h:43:14: note: expected ‘struct GdkWindow *’ 
but argument is of type ‘int’
gui.c:3574:29: warning: passing argument 1 of ‘gdk_x11_drawable_get_xid’ 
makes pointer from integer without a cast
/usr/include/gtk-2.0/gdk/gdkx.h:42:10: note: expected ‘struct GdkDrawable 
*’ but argument is of type ‘int’
gui.c:3574:29: warning: passing argument 1 of ‘gdk_x11_drawable_get_xid’ 
makes pointer from integer without a cast
/usr/include/gtk-2.0/gdk/gdkx.h:42:10: note: expected ‘struct GdkDrawable 
*’ but argument is of type ‘int’
gui.c: In function ‘show_window’:
gui.c:7469:9: warning: passing argument 1 of ‘gdk_window_reparent’ makes 
pointer from integer without a cast
/usr/include/gtk-2.0/gdk/gdkwindow.h:355:15: note: expected ‘struct GdkWindow 
*’ but argument is of type ‘int’
gui.c: In function ‘show_fs_controls’:
gui.c:7811:9: warning: passing argument 2 of 
‘gdk_screen_get_monitor_at_window’ makes pointer from integer without a cast
/usr/include/gtk-2.0/gdk/gdkscreen.h:101:15: note: expected ‘struct GdkWindow 
*’ but argument is of type ‘int’
make[3]: *** [gui.o] Error 1
make[3]: Leaving directory 
`/home/partha_new/Downloads/gnome-mplayer-svn/gnome-mplayer-read-only/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/partha_new/Downloads/gnome-mplayer-svn/gnome-mplayer-read-only/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/partha_new/Downloads/gnome-mplayer-svn/gnome-mplayer-read-only'
make: *** [all] Error 2

Since the last time , I have only installed gmtk-1.0.4 and the version of gtk 
installed in my system is GTK+-2.20.1.Do i need to update them ?

Original comment by parthach...@gmail.com on 30 Jul 2011 at 11:39

GoogleCodeExporter commented 8 years ago
I looks to me that you don't have gmtk installed.. I have split out the common 
widgets and functions from gnome-mplayer and created a new library named gmtk. 
The configure output should have shown that this was missing.

You can get gmtk from SVN at http://code.google.com/p/gmtk/

Original comment by kdeko...@gmail.com on 30 Jul 2011 at 12:27

GoogleCodeExporter commented 8 years ago
After checking out latest gmtk, now i can compile. Using gnome-mplayer 1.0.5b1 
now and the hotkeys x and z works now. Thank you for your prompt responses !

Original comment by parthach...@gmail.com on 30 Jul 2011 at 2:53