Skip to content

Commit 7e3e9f3

Browse files
Add more debug
1 parent 3cbc87e commit 7e3e9f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zm_stream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ bool StreamBase::initContexts(int p_width, int p_height, AVPixelFormat format, u
7373
*/
7474
mJpegCodecContext->time_base= (AVRational) {1,25};
7575
mJpegCodecContext->pix_fmt = AV_PIX_FMT_YUVJ420P;
76-
Debug(1, "initting to %dx%d qcompress %f", p_width, p_height, quality/100.0);
76+
Debug(1, "initting to %dx%d qcompress %f format %d", p_width, p_height, quality/100.0, mJpegCodecContext->pix_fmt);
7777

7878
if (avcodec_open2(mJpegCodecContext, mJpegCodec, NULL) < 0) {
7979
Error("Could not open mjpeg codec");

0 commit comments

Comments
 (0)