@scrypted/libav 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/decode.cpp +2 -0
package/package.json
CHANGED
package/src/decode.cpp
CHANGED
|
@@ -83,6 +83,7 @@ public:
|
|
|
83
83
|
// Decode video frames
|
|
84
84
|
while (av_read_frame(fmt_ctx_, packet) >= 0)
|
|
85
85
|
{
|
|
86
|
+
fprintf(stdout, "read a frame\n");
|
|
86
87
|
if (packet->stream_index != videoStreamIndex)
|
|
87
88
|
{
|
|
88
89
|
continue;
|
|
@@ -99,6 +100,7 @@ public:
|
|
|
99
100
|
}
|
|
100
101
|
av_packet_unref(packet); // Reset the packet for the next frame
|
|
101
102
|
}
|
|
103
|
+
fprintf(stdout, "finished reading a frame\n");
|
|
102
104
|
|
|
103
105
|
av_frame_free(&frame);
|
|
104
106
|
av_packet_free(&packet);
|