vlc | branch: master | Thomas Guillem <tho...@gllm.fr> | Thu Feb 22 16:54:17 
2018 +0100| [31922feb36dac673a191772920d1d4edf96f5f07] | committer: Thomas 
Guillem

chromecast: don't fallback to original pos in case of error

Since the original position can be way in advance.

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

 modules/stream_out/chromecast/chromecast_demux.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/stream_out/chromecast/chromecast_demux.cpp 
b/modules/stream_out/chromecast/chromecast_demux.cpp
index ed9c948ed4..891e85caa1 100644
--- a/modules/stream_out/chromecast/chromecast_demux.cpp
+++ b/modules/stream_out/chromecast/chromecast_demux.cpp
@@ -298,8 +298,7 @@ struct demux_sys_t
                 *va_arg( args, double * ) = pos;
                 return VLC_SUCCESS;
             }
-            /* Fallback to original command */
-            break;
+            return VLC_EGENERIC;
         }
         case DEMUX_GET_TIME:
             *va_arg(args, int64_t *) = getTime();

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to