head	1.2;
access;
symbols
	pkgsrc-2019Q3:1.1.0.12
	pkgsrc-2019Q3-base:1.1
	pkgsrc-2019Q2:1.1.0.10
	pkgsrc-2019Q2-base:1.1
	pkgsrc-2019Q1:1.1.0.8
	pkgsrc-2019Q1-base:1.1
	pkgsrc-2018Q4:1.1.0.6
	pkgsrc-2018Q4-base:1.1
	pkgsrc-2018Q3:1.1.0.4
	pkgsrc-2018Q3-base:1.1
	pkgsrc-2018Q2:1.1.0.2
	pkgsrc-2018Q2-base:1.1;
locks; strict;
comment	@// @;


1.2
date	2019.10.25.11.16.05;	author kamil;	state dead;
branches;
next	1.1;
commitid	8K3hDiNsvfbZUeIB;

1.1
date	2018.04.25.22.39.02;	author kamil;	state Exp;
branches;
next	;
commitid	j2QcbNOyY6MvjSzA;


desc
@@


1.2
log
@vlc2: Eliminated

Obsolete version replaced by the vlc package.
@
text
@$NetBSD: patch-modules_gui_qt4_input__manager.cpp,v 1.1 2018/04/25 22:39:02 kamil Exp $

Qt's MOC doesn't handle int64_t, so introduce a meaningful type name
so that slot/signal/connection macros work properly.

--- modules/gui/qt4/input_manager.cpp.orig	2016-04-18 11:10:31.000000000 +0000
+++ modules/gui/qt4/input_manager.cpp
@@@@ -138,7 +138,7 @@@@ void InputManager::setInput( input_threa
                     !var_GetFloat( p_input, "start-time" ) &&
                     !var_GetFloat( p_input, "stop-time" ) )
             {
-                emit resumePlayback( (int64_t)i_time * 1000 );
+                emit resumePlayback( (putime_t)i_time * 1000 );
             }
             playlist_Lock( THEPL );
             // Add root items only
@@@@ -453,7 +453,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");
@@@@ -995,21 +995,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 && i_time >= timeB )
         var_SetTime( THEMIM->getInput(), "time" , timeA );
@


1.1
log
@multimedia/vlc2: import vlc2-2.2.6

VideoLAN is a project of French students from the Ecole Centrale Paris
and developers from all over the world. Its main goals is MPEG streaming
on a network, but it also features a standalone multimedia player. The
VideoLAN Server can stream video read from a hard disk, a DVD player,
a satellite card or an MPEG 2 compression card, and unicast or multicast
it on a network. The VideoLAN Client can read the stream from the network
and display it. It can also be used to display video read locally on
the computer : DVDs, VCDs, MPEG and DivX files and from a satellite
card. It is multi-plaform : Linux, Windows, Mac OS X, BeOS, BSD, Solaris,
QNX, iPaq... The VideoLAN Client and Server now have a full IPv6 support.

This package ships the 2.2.x version of VLC.
@
text
@d1 1
a1 1
$NetBSD: patch-modules_gui_qt4_input__manager.cpp,v 1.2 2016/05/12 15:56:15 wiz Exp $
@

