OSDN Git Service
(root)
/
handbrake-jp
/
handbrake-jp-git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca75ee
)
It's a good idea to have a buffer for every pid you decide to decode.
author
van
<van@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 29 Feb 2008 18:24:46 +0000
(18:24 +0000)
committer
van
<van@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 29 Feb 2008 18:24:46 +0000
(18:24 +0000)
Max buffers was 1/4 max streams. This makes it same as max streams.
(Fixes crash reported by ncbp at http://forum.handbrake.fr/viewtopic.php?p=28899&sid=
0c89bb9c9aed7eee51c294f25ac61e99
#p28899)
git-svn-id: svn://localhost/HandBrake/trunk@1321
b64f7644
-9d1e-0410-96f1-
a4d463321fa5
libhb/stream.c
patch
|
blob
|
history
diff --git
a/libhb/stream.c
b/libhb/stream.c
index
0af712c
..
ed91f48
100755
(executable)
--- a/
libhb/stream.c
+++ b/
libhb/stream.c
@@
-14,11
+14,9
@@
typedef enum { hb_stream_type_unknown = 0, hb_stream_type_transport, hb_stream_type_program } hb_stream_type_t;
-#define kMaxNumberDecodeStreams 8
-#define kMaxNumberVideoPIDS 16
+#define kMaxNumberVideoPIDS 1
#define kMaxNumberAudioPIDS 16
-//#define kVideoStream 0
-//#define kAudioStream 1
+#define kMaxNumberDecodeStreams (kMaxNumberVideoPIDS+kMaxNumberAudioPIDS)
#define kNumDecodeBuffers 2
#define kMaxNumberPMTStreams 32