Revision 72415b2a libavdevice/x11grab.c

View differences:

libavdevice/x11grab.c
226 226
    x11grab->image = image;
227 227
    x11grab->use_shm = use_shm;
228 228

  
229
    st->codec->codec_type = CODEC_TYPE_VIDEO;
229
    st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
230 230
    st->codec->codec_id = CODEC_ID_RAWVIDEO;
231 231
    st->codec->width = ap->width;
232 232
    st->codec->height = ap->height;

Also available in: Unified diff