summaryrefslogtreecommitdiff
path: root/multimedia/vlc2/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vlc2/patches/patch-af')
-rw-r--r--multimedia/vlc2/patches/patch-af40
1 files changed, 40 insertions, 0 deletions
diff --git a/multimedia/vlc2/patches/patch-af b/multimedia/vlc2/patches/patch-af
new file mode 100644
index 00000000000..9707d1ca319
--- /dev/null
+++ b/multimedia/vlc2/patches/patch-af
@@ -0,0 +1,40 @@
+$NetBSD: patch-af,v 1.1 2012/08/31 21:00:40 drochner Exp $
+
+--- modules/gui/qt4/input_manager.cpp.orig 2012-07-04 22:14:09.000000000 +0000
++++ modules/gui/qt4/input_manager.cpp
+@@ -407,7 +407,7 @@ void InputManager::UpdatePosition()
+ {
+ /* Update position */
+ int i_length;
+- int64_t i_time;
++ putime_t i_time;
+ float f_pos;
+ i_length = var_GetTime( p_input , "length" ) / CLOCK_FREQ;
+ i_time = var_GetTime( p_input , "time");
+@@ -902,21 +902,21 @@ void InputManager::setAtoB()
+ {
+ timeB = var_GetTime( THEMIM->getInput(), "time" );
+ var_SetTime( THEMIM->getInput(), "time" , timeA );
+- CONNECT( this, positionUpdated( float, int64_t, int ),
+- this, AtoBLoop( float, int64_t, int ) );
++ CONNECT( this, positionUpdated( float, putime_t, int ),
++ this, AtoBLoop( float, putime_t, int ) );
+ }
+ else
+ {
+ timeA = 0;
+ timeB = 0;
+- disconnect( this, SIGNAL( positionUpdated( float, int64_t, int ) ),
+- this, SLOT( AtoBLoop( float, int64_t, int ) ) );
++ disconnect( this, SIGNAL( positionUpdated( float, putime_t, int ) ),
++ this, SLOT( AtoBLoop( float, putime_t, int ) ) );
+ }
+ emit AtoBchanged( (timeA != 0 ), (timeB != 0 ) );
+ }
+
+ /* Function called regularly when in an AtoB loop */
+-void InputManager::AtoBLoop( float, int64_t i_time, int )
++void InputManager::AtoBLoop( float, putime_t i_time, int )
+ {
+ if( timeB )
+ {