[vlc-commits] chromecast: don't fallback to original pos in case of error
Thomas Guillem
git at videolan.org
Thu Feb 22 16:59:17 CET 2018
vlc | branch: master | Thomas Guillem <thomas at 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();
More information about the vlc-commits
mailing list