Displaying 2 results from an estimated 2 matches for "header_comm".
Did you mean:
header_code
2015 Oct 17
1
Why does this code not generate a valid opus file?
...aderContent = {
{'O', 'p', 'u', 's', 'T', 'a', 'g', 's'},
0, //We do not support a vandor string in this implementation.
0 //We do not support any user comments in this implementation.
};
ogg_packet header_comm;
header_comm.packet = (unsigned char*)&commentHeaderContent;
header_comm.bytes = sizeof(struct OggCommentHeader);
header_comm.b_o_s = 0;
header_comm.e_o_s = 1; //We are ending the stream as there will be no data.
header_comm.granulepos = -1; //This packet does not contain au...
2004 Nov 16
0
metadata switches for ffmpeg2theora
...;tc, &info->op);
+ ogg_stream_packetin (&info->to, &info->op);
+ theora_encode_tables (&info->td, &info->op);
+ ogg_stream_packetin (&info->to, &info->op);
}
- if(!info.video_only){
+ if(!info->video_only){
ogg_packet header;
ogg_packet header_comm;
ogg_packet header_code;
- vorbis_analysis_headerout (&info.vd, &info.vc, &header,
+ vorbis_analysis_headerout (&info->vd, &info->vc, &header,
&header_comm, &header_code);
- ogg_stream_packetin (&info.vo, &header); /* automatically plac...