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:
08c16c0
)
theoradec: small cleanups
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 9 Dec 2009 15:55:52 +0000
(16:55 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 9 Dec 2009 15:55:52 +0000
(16:55 +0100)
ext/theora/theoradec.c
patch
|
blob
|
history
diff --git
a/ext/theora/theoradec.c
b/ext/theora/theoradec.c
index 8be772dc415145242b8189a4577daf8c7fc8971b..169fc29c689eefb087a062fa9591df6ce98cdf47 100644
(file)
--- a/
ext/theora/theoradec.c
+++ b/
ext/theora/theoradec.c
@@
-403,7
+403,7
@@
theora_dec_src_query (GstPad * pad, GstQuery * query)
case GST_QUERY_POSITION:
{
gint64 value;
- GstFormat
my_format,
format;
+ GstFormat format;
gint64 time;
/* parse format */
@@
-415,9
+415,9
@@
theora_dec_src_query (GstPad * pad, GstQuery * query)
GST_LOG_OBJECT (dec,
"query %p: our time: %" GST_TIME_FORMAT, query, GST_TIME_ARGS (time));
- my_format = GST_FORMAT_TIME;
if (!(res =
- theora_dec_src_convert (pad, my_format, time, &format, &value)))
+ theora_dec_src_convert (pad, GST_FORMAT_TIME, time, &format,
+ &value)))
goto error;
gst_query_set_position (query, format, value);