Commit be80fd88 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

chromecast: don't reload if disabled track is removed

(cherry picked from commit 12298e60)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 60c219a4
...@@ -236,6 +236,7 @@ static void Del(sout_stream_t *p_stream, sout_stream_id_sys_t *id) ...@@ -236,6 +236,7 @@ static void Del(sout_stream_t *p_stream, sout_stream_id_sys_t *id)
if (*out_it == id) if (*out_it == id)
{ {
p_sys->out_streams.erase(out_it); p_sys->out_streams.erase(out_it);
p_sys->es_changed = true;
break; break;
} }
out_it++; out_it++;
...@@ -245,7 +246,6 @@ static void Del(sout_stream_t *p_stream, sout_stream_id_sys_t *id) ...@@ -245,7 +246,6 @@ static void Del(sout_stream_t *p_stream, sout_stream_id_sys_t *id)
es_format_Clean( &p_sys_id->fmt ); es_format_Clean( &p_sys_id->fmt );
free( p_sys_id ); free( p_sys_id );
p_sys->streams.erase( it ); p_sys->streams.erase( it );
p_sys->es_changed = true;
break; break;
} }
it++; it++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment