We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d589fff commit 7e95217Copy full SHA for 7e95217
src/video_capture/rtsp.c
@@ -370,10 +370,10 @@ vidcap_rtsp_thread(void *arg) {
370
* only next would be displayed).
371
*/
372
static struct video_frame *emit_sps_pps(struct rtsp_state *s) {
373
+ s->sps_pps_emitted = 1;
374
if (s->vrtsp_state.h264_offset_len == 0) {
375
return NULL;
376
}
- s->sps_pps_emitted = 1;
377
struct video_frame *frame = vf_alloc_desc_data(s->vrtsp_state.desc);
378
memcpy(frame->tiles[0].data, s->vrtsp_state.h264_offset_buffer, s->vrtsp_state.h264_offset_len);
379
frame->tiles[0].data_len = s->vrtsp_state.h264_offset_len;
0 commit comments