- Timestamp:
- 11/06/09 14:33:37 (3 years ago)
- Parents:
- 6ad46b97c08fbff92c569737162513719a8cee8d
- Children:
- c921505c5ad730161fe4d8eb95950eb4a3f30173
- git-committer:
- rgareus <rgareus@CITU-Cuboute.local> / 2009-11-06T15:33:37Z+0100
- Files:
-
- 1 modified
-
oggzcap/src/videoout/encoder_example.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
oggzcap/src/videoout/encoder_example.c
r0a70e0d r2080ee9 234 234 shout_t *myShout; 235 235 //FILE *outTestFile ; 236 int myOggfwd_init( char* outIceIp, int outIcePort, char* outIceMount ) { 236 int myOggfwd_init( const char* outIceIp, int outIcePort, const char* outIceMount, 237 const char *description, const char *genre, const char *name, const char *url ) { 237 238 238 239 int res = 0 ; 239 240 240 unsigned int pFlag;241 char *description, *genre, *name, *url ;242 241 unsigned short port = outIcePort ; 243 244 pFlag = 0;245 description = "-" ;246 genre = "-" ;247 name = "InOut Video" ;248 url = "-" ;249 242 250 243 if ((myShout = shout_new()) == NULL) printf("oggfwd - Error - allocate pb%s\n") ; … … 254 247 if (shout_set_mount(myShout, outIceMount) != SHOUTERR_SUCCESS) printf("oggfwd - Error - look at the code to know...\n") ; 255 248 shout_set_format(myShout, SHOUT_FORMAT_VORBIS); 256 shout_set_public(myShout, pFlag);249 shout_set_public(myShout, 1); 257 250 258 251 if (description) shout_set_description(myShout, description); 259 if (genre) shout_set_genre(myShout, genre);260 if (name) shout_set_name(myShout, name);261 if (url) shout_set_url(myShout, url);252 if (genre) shout_set_genre(myShout, genre); 253 if (name) shout_set_name(myShout, name); 254 if (url) shout_set_url(myShout, url); 262 255 263 256 //printf("oggfwd - Trying to connect\n") ;
