]> granicus.if.org Git - handbrake/commitdiff
stream: better probing of PS files
authorJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 27 Nov 2017 18:28:56 +0000 (10:28 -0800)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 27 Nov 2017 18:28:56 +0000 (10:28 -0800)
The probe did not inspect enough data and did not always detect all
streams.

Thanks to josephpaul0
Fixes https://github.com/HandBrake/HandBrake/issues/1023

libhb/stream.c

index d4d03ab123e4b8337002b688165a162079a63e75..e223482cd5a23d48de0d41268537b80bae026fce 100644 (file)
@@ -107,7 +107,7 @@ typedef enum {
     ffmpeg
 } hb_stream_type_t;
 
-#define MAX_PS_PROBE_SIZE (5*1024*1024)
+#define MAX_PS_PROBE_SIZE (32*1024*1024)
 #define kMaxNumberPMTStreams 32
 
 typedef struct