Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
GStreamer
gst-libav
Commits
72cd8f18
Commit
72cd8f18
authored
Nov 05, 2009
by
Tim-Philipp Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpegdec: printf format fixes
parent
019a6020
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
ext/ffmpeg/gstffmpegdec.c
ext/ffmpeg/gstffmpegdec.c
+6
-5
No files found.
ext/ffmpeg/gstffmpegdec.c
View file @
72cd8f18
...
@@ -948,9 +948,9 @@ gst_ffmpegdec_get_buffer (AVCodecContext * context, AVFrame * picture)
...
@@ -948,9 +948,9 @@ gst_ffmpegdec_get_buffer (AVCodecContext * context, AVFrame * picture)
GST_LOG_OBJECT
(
ffmpegdec
,
"linsize %d %d %d"
,
picture
->
linesize
[
0
],
GST_LOG_OBJECT
(
ffmpegdec
,
"linsize %d %d %d"
,
picture
->
linesize
[
0
],
picture
->
linesize
[
1
],
picture
->
linesize
[
2
]);
picture
->
linesize
[
1
],
picture
->
linesize
[
2
]);
GST_LOG_OBJECT
(
ffmpegdec
,
"data %
d
%
d
%
d
"
,
0
,
GST_LOG_OBJECT
(
ffmpegdec
,
"data %
u
%
u
%
u
"
,
0
,
picture
->
data
[
1
]
-
picture
->
data
[
0
],
(
guint
)
(
picture
->
data
[
1
]
-
picture
->
data
[
0
]
)
,
picture
->
data
[
2
]
-
picture
->
data
[
0
]);
(
guint
)
(
picture
->
data
[
2
]
-
picture
->
data
[
0
])
)
;
return
res
;
return
res
;
}
}
...
@@ -1507,8 +1507,9 @@ get_output_buffer (GstFFMpegDec * ffmpegdec, GstBuffer ** outbuf)
...
@@ -1507,8 +1507,9 @@ get_output_buffer (GstFFMpegDec * ffmpegdec, GstBuffer ** outbuf)
GST_LOG_OBJECT
(
ffmpegdec
,
"linsize %d %d %d"
,
outpic
->
linesize
[
0
],
GST_LOG_OBJECT
(
ffmpegdec
,
"linsize %d %d %d"
,
outpic
->
linesize
[
0
],
outpic
->
linesize
[
1
],
outpic
->
linesize
[
2
]);
outpic
->
linesize
[
1
],
outpic
->
linesize
[
2
]);
GST_LOG_OBJECT
(
ffmpegdec
,
"data %d %d %d"
,
0
,
GST_LOG_OBJECT
(
ffmpegdec
,
"data %u %u %u"
,
0
,
outpic
->
data
[
1
]
-
outpic
->
data
[
0
],
outpic
->
data
[
2
]
-
outpic
->
data
[
0
]);
(
guint
)
(
outpic
->
data
[
1
]
-
outpic
->
data
[
0
]),
(
guint
)
(
outpic
->
data
[
2
]
-
outpic
->
data
[
0
]));
av_picture_copy
(
&
pic
,
outpic
,
ffmpegdec
->
context
->
pix_fmt
,
width
,
height
);
av_picture_copy
(
&
pic
,
outpic
,
ffmpegdec
->
context
->
pix_fmt
,
width
,
height
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment