-rw-r--r-- | core/multimedia/opieplayer/libmad/libmadplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/libmad/libmadplugin.cpp b/core/multimedia/opieplayer/libmad/libmadplugin.cpp index 7bb6541..46f2450 100644 --- a/core/multimedia/opieplayer/libmad/libmadplugin.cpp +++ b/core/multimedia/opieplayer/libmad/libmadplugin.cpp | |||
@@ -331,33 +331,33 @@ int LibMadPlugin::http_open(const QString& path ) { | |||
331 | } | 331 | } |
332 | else if (strncmp(http_request, "icy-", 4) == 0) | 332 | else if (strncmp(http_request, "icy-", 4) == 0) |
333 | { | 333 | { |
334 | /* we can have: icy-noticeX, icy-name, icy-genre, icy-url, icy-pub, icy-metaint, icy-br */ | 334 | /* we can have: icy-noticeX, icy-name, icy-genre, icy-url, icy-pub, icy-metaint, icy-br */ |
335 | /* Don't print these - mpg123 doesn't */ | 335 | /* Don't print these - mpg123 doesn't */ |
336 | /* fprintf(stderr,"%s\n",http_request); */ | 336 | /* fprintf(stderr,"%s\n",http_request); */ |
337 | } | 337 | } |
338 | } | 338 | } |
339 | while (strcmp(http_request, "\n") != 0); | 339 | while (strcmp(http_request, "\n") != 0); |
340 | 340 | ||
341 | return (tcp_sock); | 341 | return (tcp_sock); |
342 | } | 342 | } |
343 | 343 | ||
344 | 344 | ||
345 | bool LibMadPlugin::open( const QString& path ) { | 345 | bool LibMadPlugin::open( const QString& path ) { |
346 | debugMsg( "LibMadPlugin::open" ); | 346 | debugMsg( "LibMadPlugin::open" ); |
347 | Config cfg("MediaPlayer"); | 347 | Config cfg("OpiePlayer"); |
348 | cfg.setGroup("Options"); | 348 | cfg.setGroup("Options"); |
349 | bufferSize = cfg.readNumEntry("MPeg_BufferSize",MPEG_BUFFER_SIZE); | 349 | bufferSize = cfg.readNumEntry("MPeg_BufferSize",MPEG_BUFFER_SIZE); |
350 | qDebug("buffer size is %d", bufferSize); | 350 | qDebug("buffer size is %d", bufferSize); |
351 | d->bad_last_frame = 0; | 351 | d->bad_last_frame = 0; |
352 | d->flush = TRUE; | 352 | d->flush = TRUE; |
353 | info = QString( "" ); | 353 | info = QString( "" ); |
354 | 354 | ||
355 | //qDebug( "Opening %s", path.latin1() ); | 355 | //qDebug( "Opening %s", path.latin1() ); |
356 | 356 | ||
357 | 357 | ||
358 | if (path.left( 4 ) == "http" ) { | 358 | if (path.left( 4 ) == "http" ) { |
359 | d->input.fd = http_open(path); | 359 | d->input.fd = http_open(path); |
360 | 360 | ||
361 | } else { | 361 | } else { |
362 | d->input.path = path.latin1(); | 362 | d->input.path = path.latin1(); |
363 | d->input.fd = ::open( d->input.path, O_RDONLY ); | 363 | d->input.fd = ::open( d->input.path, O_RDONLY ); |