[xiph-cvs] cvs commit: theora/examples player_example.c
Ralph Giles
giles at xiph.org
Mon Sep 29 06:43:33 PDT 2003
giles 03/09/29 09:43:33
Modified: examples player_example.c
Log:
Update the example player for the new colorspace definitions.
Revision Changes Path
1.27 +6 -6 theora/examples/player_example.c
Index: player_example.c
===================================================================
RCS file: /usr/local/cvsroot/theora/examples/player_example.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- player_example.c 26 Sep 2003 15:03:48 -0000 1.26
+++ player_example.c 29 Sep 2003 13:43:32 -0000 1.27
@@ -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.26 2003/09/26 15:03:48 tterribe Exp $
+ last mod: $Id: player_example.c,v 1.27 2003/09/29 13:43:32 giles Exp $
********************************************************************/
@@ -389,14 +389,14 @@
static void report_colorspace(theora_info *ti)
{
switch(ti->colorspace){
- case not_specified:
+ case OC_CS_UNSPECIFIED:
/* nothing to report */
break;;
- case ITU_Rec_601:
- fprintf(stderr," encoder specified ITU Rec 601 color.\n");
+ case OC_CS_ITU_REC_470M:
+ fprintf(stderr," encoder specified ITU Rec 470M (NTSC) color.\n");
break;;
- case CIE_Rec_709:
- fprintf(stderr," encoder specified CIE Rec 709 color.\n");
+ case OC_CS_ITU_REC_470BG:
+ fprintf(stderr," encoder specified ITU Rec 470BG (PAL) color.\n");
break;;
default:
fprintf(stderr,"warning: encoder specified unknown colorspace (%d).\n",
<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