summaryrefslogtreecommitdiffstats
path: root/core/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/command.c')
-rw-r--r--core/command.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/command.c b/core/command.c
index 6056596d04..5a68a228bc 100644
--- a/core/command.c
+++ b/core/command.c
@@ -566,13 +566,13 @@ static int mp_property_angle(m_option_t *prop, int action, void *arg,
case M_PROPERTY_SET:
angle = demuxer_set_angle(demuxer, *(int *)arg);
if (angle >= 0) {
- struct sh_video *sh_video = demuxer->video->sh;
+ struct sh_stream *sh_video = demuxer->video->gsh;
if (sh_video)
- resync_video_stream(sh_video);
+ resync_video_stream(sh_video->video);
- struct sh_audio *sh_audio = demuxer->audio->sh;
+ struct sh_stream *sh_audio = demuxer->audio->gsh;
if (sh_audio)
- resync_audio_stream(sh_audio);
+ resync_audio_stream(sh_audio->audio);
}
return M_PROPERTY_OK;
case M_PROPERTY_GET_TYPE: {