projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb07615
)
oggdemux: fix for I-frame-only theora
author
David Schleef
<ds@schleef.org>
Fri, 4 Dec 2009 01:02:11 +0000
(17:02 -0800)
committer
David Schleef
<ds@schleef.org>
Fri, 4 Dec 2009 01:02:11 +0000
(17:02 -0800)
ext/ogg/gstoggstream.c
patch
|
blob
|
history
diff --git
a/ext/ogg/gstoggstream.c
b/ext/ogg/gstoggstream.c
index fe18459c2334fafa6d88fbdd288adf8d38a41bed..4e276972f11e374612e6f03f65d3419dd194a3f3 100644
(file)
--- a/
ext/ogg/gstoggstream.c
+++ b/
ext/ogg/gstoggstream.c
@@
-296,9
+296,10
@@
setup_theora_mapper (GstOggStream * pad, ogg_packet * packet)
pad->n_header_packets = 3;
pad->frame_size = 1;
- if (pad->granule
shift == 0 || pad->granulerate_n == 0
- || pad->granulerate_d == 0)
+ if (pad->granule
rate_n == 0 || pad->granulerate_d == 0) {
+ GST_WARNING ("frame rate %d/%d", pad->granulerate_n, pad->granulerate_d);
return FALSE;
+ }
pad->caps = gst_caps_new_simple ("video/x-theora", NULL);