|
@@ -905,7 +905,7 @@ static bool add_video_packet(struct rtmp_stream *stream,
|
|
|
|
|
|
|
|
/* if currently dropping frames, drop packets until it reaches the
|
|
/* if currently dropping frames, drop packets until it reaches the
|
|
|
* desired priority */
|
|
* desired priority */
|
|
|
- if (packet->priority < stream->min_priority) {
|
|
|
|
|
|
|
+ if (packet->drop_priority < stream->min_priority) {
|
|
|
stream->dropped_frames++;
|
|
stream->dropped_frames++;
|
|
|
return false;
|
|
return false;
|
|
|
} else {
|
|
} else {
|