Re: [FFmpeg-devel] [PATCH] avcodec/h264: Partially decode and display single fields try #2

2015-01-22 Thread Michael Niedermayer
On Wed, Jan 21, 2015 at 02:28:36PM +, Kieran Kunhya wrote: yes, its overall 3 lines shorter as well ive locally changed it to this: Thanks, much easier to understand. applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Freedom in

Re: [FFmpeg-devel] [PATCH] avcodec/h264: Partially decode and display single fields try #2

2015-01-21 Thread Kieran Kunhya
yes, its overall 3 lines shorter as well ive locally changed it to this: Thanks, much easier to understand. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avcodec/h264: Partially decode and display single fields try #2

2015-01-20 Thread Michael Niedermayer
On Tue, Jan 20, 2015 at 09:51:25PM +, Kieran Kunhya wrote: +for(p=0; p3; p++) { +int h = f-height; +int w = f-width; +if (p) { +w = h_chroma_shift; +h =

[FFmpeg-devel] [PATCH] avcodec/h264: Partially decode and display single fields try #2

2015-01-20 Thread Michael Niedermayer
This like the previous attempt does not fully correctly decode this type of non standard H.264, but it now works fully automatic requiring no manual filters or flags to be used See Ticket2254 Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavcodec/h264.c | 31