summaryrefslogtreecommitdiffstats
path: root/demux/demux_mng.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux_mng.c')
-rw-r--r--demux/demux_mng.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demux/demux_mng.c b/demux/demux_mng.c
index 74f633d64e..5863cbc9c1 100644
--- a/demux/demux_mng.c
+++ b/demux/demux_mng.c
@@ -437,8 +437,8 @@ static demuxer_t * demux_mng_open(demuxer_t * demuxer)
sh_video->ds = demuxer->video;
// set format of pixels in video packets
- sh_video->format = MP_FOURCC_RAWVIDEO;
- sh_video->imgfmt = MP_FOURCC_RGB32;
+ sh_video->gsh->codec = "rawvideo";
+ sh_video->format = MP_FOURCC_RGB32;
// set framerate to some value (MNG does not have a fixed framerate)
sh_video->fps = 5.0f;