break; /* Need more data */
if (ret != 1)
continue;
- PARA_DEBUG_LOG("next input page (header/body): %lu/%lu\n",
- page.header_len, page.body_len);
/*
* We can ignore any errors here as they'll also become
* apparent at packetout.
*/
ogg_stream_pagein(stream, &page);
- PARA_DEBUG_LOG("ogg page serial: %d\n",
+ PARA_INFO_LOG("ogg page serial: %d\n",
ogg_page_serialno(&page));
while (i < 2) {
ret = ogg_stream_packetout(stream, &packet);
- PARA_DEBUG_LOG("packet #%d: %lu bytes\n", i + 1,
- packet.bytes);
if (ret == 0)
break;
if (ret < 0)
if (ogg_sync_pageout(oss, &page) != 1)
return -E_SYNC_PAGEOUT;
- PARA_DEBUG_LOG("first input page (header/body): %lu/%lu\n",
- page.header_len, page.body_len);
ret = ogg_page_serialno(&page);
ogg_stream_init(&stream, ret);
ret = -E_STREAM_PACKETOUT;
if (ogg_stream_packetout(&stream, &packet) != 1)
goto out;
- PARA_DEBUG_LOG("packet #0: %lu bytes\n", packet.bytes);
ret = ci->packet_callback(&packet, 0, ogg_page_serialno(&page),
afhi, ci->private_data);
if (ret < 0)