[xiph-cvs] cvs commit: theora/examples player_example.c
Ralph Giles
giles at xiph.org
Mon Jun 9 05:21:22 PDT 2003
giles 03/06/09 08:21:22
Modified: examples player_example.c
Log:
Restore printing of the theora comment header. Slight change in the
way the crop frame information is displayed.
Revision Changes Path
1.22 +4 -2 theora/examples/player_example.c
Index: player_example.c
===================================================================
RCS file: /usr/local/cvsroot/theora/examples/player_example.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- player_example.c 9 Jun 2003 12:11:02 -0000 1.21
+++ player_example.c 9 Jun 2003 12:21:21 -0000 1.22
@@ -12,7 +12,7 @@
function: example SDL player application; plays Ogg Theora files (with
optional Vorbis audio second stream)
- last mod: $Id: player_example.c,v 1.21 2003/06/09 12:11:02 giles Exp $
+ last mod: $Id: player_example.c,v 1.22 2003/06/09 12:21:21 giles Exp $
********************************************************************/
@@ -545,10 +545,12 @@
/* and now we have it all. initialize decoders */
if(theora_p){
theora_decode_init(&td,&ti);
- printf("Ogg logical stream %x is Theora %dx%d %.02f fps video\nEncoded frame content is %dx%d with %dx%d offset\n",
+ printf("Ogg logical stream %x is Theora %dx%d %.02f fps video\n"
+ " Frame content is %dx%d with offset (%d,%d).\n",
to.serialno,ti.width,ti.height, (double)ti.fps_numerator/ti.fps_denominator,
ti.frame_width, ti.frame_height, ti.offset_x, ti.offset_y);
report_colorspace(&ti);
+ dump_comments(&tc);
}else{
/* tear down the partial theora setup */
theora_info_clear(&ti);
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list