Fix demuxer error message

The message applies to all packets, not only config packets.
This commit is contained in:
Romain Vimont 2023-02-10 18:55:39 +01:00
parent bd56c0abf7
commit 40866ddc10

View file

@ -105,7 +105,7 @@ push_packet_to_sinks(struct sc_demuxer *demuxer, const AVPacket *packet) {
for (unsigned i = 0; i < demuxer->sink_count; ++i) { for (unsigned i = 0; i < demuxer->sink_count; ++i) {
struct sc_packet_sink *sink = demuxer->sinks[i]; struct sc_packet_sink *sink = demuxer->sinks[i];
if (!sink->ops->push(sink, packet)) { if (!sink->ops->push(sink, packet)) {
LOGE("Could not send config packet to sink %d", i); LOGE("Could not send packet to sink %d", i);
return false; return false;
} }
} }