summaryrefslogtreecommitdiffstats
path: root/modules/theora
diff options
context:
space:
mode:
authorsamvila <samvila@gmail.com>2017-12-29 11:12:03 -0800
committerRémi Verschelde <rverschelde@gmail.com>2018-01-03 13:29:17 +0100
commit6188279eeb89cb1b3d1c54adff31929b87c9eaf8 (patch)
treeb1c2ac31039af4526721922f6723a955ca1cf1b1 /modules/theora
parentbc513dfa84c2bdfcfbf82c924cbf3fd3bc9c27de (diff)
downloadredot-engine-6188279eeb89cb1b3d1c54adff31929b87c9eaf8.tar.gz
Remove too verbose printf statements from VideoStreamTheora
Diffstat (limited to 'modules/theora')
-rw-r--r--modules/theora/video_stream_theora.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/modules/theora/video_stream_theora.cpp b/modules/theora/video_stream_theora.cpp
index 5702134791..2ff3fb6d7a 100644
--- a/modules/theora/video_stream_theora.cpp
+++ b/modules/theora/video_stream_theora.cpp
@@ -309,9 +309,6 @@ void VideoStreamPlaybackTheora::set_file(const String &p_file) {
/* and now we have it all. initialize decoders */
if (theora_p) {
td = th_decode_alloc(&ti, ts);
- printf("Ogg logical stream %lx is Theora %dx%d %.02f fps",
- to.serialno, ti.pic_width, ti.pic_height,
- (double)ti.fps_numerator / ti.fps_denominator);
px_fmt = ti.pixel_fmt;
switch (ti.pixel_fmt) {
case TH_PF_420: printf(" 4:2:0 video\n"); break;
@@ -322,9 +319,6 @@ void VideoStreamPlaybackTheora::set_file(const String &p_file) {
printf(" video\n (UNKNOWN Chroma sampling!)\n");
break;
}
- if (ti.pic_width != ti.frame_width || ti.pic_height != ti.frame_height)
- printf(" Frame content is %dx%d with offset (%d,%d).\n",
- ti.frame_width, ti.frame_height, ti.pic_x, ti.pic_y);
th_decode_ctl(td, TH_DECCTL_GET_PPLEVEL_MAX, &pp_level_max,
sizeof(pp_level_max));
pp_level = 0;
@@ -351,10 +345,7 @@ void VideoStreamPlaybackTheora::set_file(const String &p_file) {
if (vorbis_p) {
vorbis_synthesis_init(&vd, &vi);
vorbis_block_init(&vd, &vb);
- fprintf(stderr, "Ogg logical stream %lx is Vorbis %d channel %ld Hz audio.\n",
- vo.serialno, vi.channels, vi.rate);
//_setup(vi.channels, vi.rate);
-
} else {
/* tear down the partial vorbis setup */
vorbis_info_clear(&vi);