[vlc-commits] DCP: allow to pause

Valentin Vetter git at videolan.org
Thu Feb 27 16:11:43 CET 2014


vlc | branch: master | Valentin Vetter <vvetter at outlook.com> | Thu Feb 27 16:08:55 2014 +0100| [9a67cfe89bf7d78be3932dacebdf04e78baf94fc] | committer: Jean-Baptiste Kempf

DCP: allow to pause

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9a67cfe89bf7d78be3932dacebdf04e78baf94fc
---

 modules/access/dcp/dcp.cpp |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/access/dcp/dcp.cpp b/modules/access/dcp/dcp.cpp
index 578ac91..9b6d4d2 100644
--- a/modules/access/dcp/dcp.cpp
+++ b/modules/access/dcp/dcp.cpp
@@ -754,6 +754,9 @@ static int Control( demux_t *p_demux, int query, va_list args )
                 *pb = false;
             break;
 
+        case DEMUX_SET_PAUSE_STATE:
+            return VLC_SUCCESS;
+
         case DEMUX_GET_POSITION:
             pf = ( double* ) va_arg ( args, double* );
             if( p_sys->frames_total != 0 )



More information about the vlc-commits mailing list