Commit 01dbf688 authored by Olivier Aubert's avatar Olivier Aubert

mediacontrol_audio_video.c: use VLC_FOURCC to define the snapshot type

parent ae25844b
...@@ -98,7 +98,7 @@ mediacontrol_snapshot( mediacontrol_Instance *self, ...@@ -98,7 +98,7 @@ mediacontrol_snapshot( mediacontrol_Instance *self,
{ {
p_pic = _mediacontrol_createRGBPicture( p_snapshot->i_width, p_pic = _mediacontrol_createRGBPicture( p_snapshot->i_width,
p_snapshot->i_height, p_snapshot->i_height,
"PNG", VLC_FOURCC( 'p','n','g',' ' ),
p_snapshot->date, p_snapshot->date,
p_snapshot->p_data, p_snapshot->p_data,
p_snapshot->i_datasize ); p_snapshot->i_datasize );
......
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