Revision 35fe66ab libavfilter/vsrc_movie.c

View differences:

libavfilter/vsrc_movie.c
248 248

  
249 249
                movie->picref->pos                    = movie->frame->pkt_pos;
250 250
                if (!movie->frame->sample_aspect_ratio.num)
251
                    movie->picref->video->pixel_aspect = st->sample_aspect_ratio;
251
                    movie->picref->video->sample_aspect_ratio = st->sample_aspect_ratio;
252 252
                movie->picref->video->interlaced      = movie->frame->interlaced_frame;
253 253
                movie->picref->video->top_field_first = movie->frame->top_field_first;
254 254
                movie->picref->video->key_frame       = movie->frame->key_frame;
......
258 258
                        movie->file_name, movie->picref->pts,
259 259
                        (double)movie->picref->pts * av_q2d(st->time_base),
260 260
                        movie->picref->pos,
261
                        movie->picref->video->pixel_aspect.num, movie->picref->video->pixel_aspect.den);
261
                        movie->picref->video->sample_aspect_ratio.num,
262
                        movie->picref->video->sample_aspect_ratio.den);
262 263
                // We got it. Free the packet since we are returning
263 264
                av_free_packet(&pkt);
264 265

  

Also available in: Unified diff