Control: tags -1 + pending Dear maintainer,
to move the libav transition forward, I've prepared an NMU for guvcview (versioned as 1.7.3-1.1) and uploaded it to DELAYED/4. Please feel free to tell me if I should delay it longer. Regards. -- Sebastian Ramacher
diff -Nru guvcview-1.7.3/debian/changelog guvcview-1.7.3/debian/changelog --- guvcview-1.7.3/debian/changelog 2014-03-25 23:38:10.000000000 +0100 +++ guvcview-1.7.3/debian/changelog 2014-05-16 00:33:39.000000000 +0200 @@ -1,3 +1,11 @@ +guvcview (1.7.3-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/patches/0001-fix-build-with-libav10.patch: Update patch to build + against libav 10. Thanks to Moritz Muehlenhoff. (Closes: #739323) + + -- Sebastian Ramacher <sramac...@debian.org> Fri, 16 May 2014 00:09:00 +0200 + guvcview (1.7.3-1) unstable; urgency=low * New upstream release. (Closes: #739049) diff -Nru guvcview-1.7.3/debian/patches/0001-fix-build-with-libav10.patch guvcview-1.7.3/debian/patches/0001-fix-build-with-libav10.patch --- guvcview-1.7.3/debian/patches/0001-fix-build-with-libav10.patch 2014-03-25 00:08:24.000000000 +0100 +++ guvcview-1.7.3/debian/patches/0001-fix-build-with-libav10.patch 2014-05-16 00:33:39.000000000 +0200 @@ -75,6 +75,23 @@ pdata->delay = (UINT64) 2*(fps_num * G_NSEC_PER_SEC / fps_den); /*2 frame delay in nanosec*/ pdata->delay += global->Sound_delay; /*add predefined delay - def = 0*/ --- -1.9.1 - +--- a/src/lavc_common.c ++++ b/src/lavc_common.c +@@ -667,7 +667,7 @@ + // H264 decoder + gboolean has_h264_decoder() + { +- if(avcodec_find_decoder(CODEC_ID_H264)) ++ if(avcodec_find_decoder(AV_CODEC_ID_H264)) + return TRUE; + else + return FALSE; +@@ -678,7 +678,7 @@ + { + struct h264_decoder_context* h264_ctx = g_new0(struct h264_decoder_context, 1); + +- h264_ctx->codec = avcodec_find_decoder(CODEC_ID_H264); ++ h264_ctx->codec = avcodec_find_decoder(AV_CODEC_ID_H264); + if(!h264_ctx->codec) + { + fprintf(stderr, "H264 decoder: codec not found (please install libavcodec-extra for H264 support)\n");
signature.asc
Description: Digital signature