Re: [FFmpeg-devel] [PATCH]lavc/mpeg12dec: Read Closed Captions from second field

2018-11-30 Thread Carl Eugen Hoyos
2018-11-29 18:59 GMT+01:00, Devin Heitmueller : > On Thu, Nov 29, 2018 at 12:55 PM Michael Niedermayer > wrote: > >> > +if (s1->a53_caption) { >> > +AVFrameSideData *sd; >> > +av_frame_remove_side_data(s->current_picture_ptr->f, >> > AV_FRAME_DATA_A53_CC); >> > +

Re: [FFmpeg-devel] [PATCH]lavc/mpeg12dec: Read Closed Captions from second field

2018-11-29 Thread Devin Heitmueller
On Thu, Nov 29, 2018 at 12:55 PM Michael Niedermayer wrote: > > +if (s1->a53_caption) { > > +AVFrameSideData *sd; > > +av_frame_remove_side_data(s->current_picture_ptr->f, > > AV_FRAME_DATA_A53_CC); > > +sd = av_frame_new_side_data( > > +

Re: [FFmpeg-devel] [PATCH]lavc/mpeg12dec: Read Closed Captions from second field

2018-11-29 Thread Michael Niedermayer
On Wed, Nov 28, 2018 at 10:48:17PM +0100, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes reading Closed Captions from a field-encoded > mpeg2video sample from the libav-user mailing list. > > Please review, Carl Eugen > mpeg12dec.c | 11 +++ > 1 file changed, 11 insertions(+)

[FFmpeg-devel] [PATCH]lavc/mpeg12dec: Read Closed Captions from second field

2018-11-28 Thread Carl Eugen Hoyos
Hi! Attached patch fixes reading Closed Captions from a field-encoded mpeg2video sample from the libav-user mailing list. Please review, Carl Eugen From 045a485ffedb3344560070a58a2def659be81700 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 28 Nov 2018 22:45:00 +0100 Subject: [PATCH]