mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #250, merge avc to codec. use queue to dequeue.
This commit is contained in:
parent
153a3a6c42
commit
4246be92c9
12 changed files with 959 additions and 928 deletions
|
@ -1520,7 +1520,6 @@ int srs_h264_write_raw_frames(srs_rtmp_t rtmp,
|
|||
while (!context->h264_raw_stream.empty()) {
|
||||
char* frame = NULL;
|
||||
int frame_size = 0;
|
||||
bool got_sps_pps = false;
|
||||
if ((ret = context->avc_raw.annexb_demux(&context->h264_raw_stream, &frame, &frame_size)) != ERROR_SUCCESS) {
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue