]> git.pld-linux.org Git - packages/vice.git/commitdiff
- new auto/th/vice-2_3-4
authorAdam Gołębiowski <adamg@pld-linux.org>
Sat, 11 Feb 2012 10:09:04 +0000 (10:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vice-ffmpeg.patch -> 1.1

vice-ffmpeg.patch [new file with mode: 0644]

diff --git a/vice-ffmpeg.patch b/vice-ffmpeg.patch
new file mode 100644 (file)
index 0000000..fa6998b
--- /dev/null
@@ -0,0 +1,47 @@
+--- vice-2.3/src/gfxoutputdrv/ffmpegdrv.c.orig 2012-02-11 11:00:26.471312970 +0100
++++ vice-2.3/src/gfxoutputdrv/ffmpegdrv.c      2012-02-11 11:01:17.575884177 +0100
+@@ -342,7 +342,7 @@
+     c = st->codec;
+     c->codec_id = ffmpegdrv_fmt->audio_codec;
+-    c->codec_type = CODEC_TYPE_AUDIO;
++    c->codec_type = AVMEDIA_TYPE_AUDIO;
+     c->sample_fmt = SAMPLE_FMT_S16;
+     /* put sample parameters */
+@@ -370,7 +370,7 @@
+         pkt.size = (*ffmpeglib.p_avcodec_encode_audio)(c, 
+                         audio_outbuf, audio_outbuf_size, audio_in->buffer);
+         pkt.pts = c->coded_frame->pts;
+-        pkt.flags |= PKT_FLAG_KEY;
++        pkt.flags |= AV_PKT_FLAG_KEY;
+         pkt.stream_index = audio_st->index;
+         pkt.data = audio_outbuf;
+@@ -559,7 +559,7 @@
+     c = st->codec;
+     c->codec_id = ffmpegdrv_fmt->video_codec;
+-    c->codec_type = CODEC_TYPE_VIDEO;
++    c->codec_type = AVMEDIA_TYPE_VIDEO;
+     /* put sample parameters */
+     c->bit_rate = video_bitrate;
+@@ -819,7 +819,7 @@
+     if (ffmpegdrv_oc->oformat->flags & AVFMT_RAWPICTURE) {
+         AVPacket pkt;
+         (*ffmpeglib.p_av_init_packet)(&pkt);
+-        pkt.flags |= PKT_FLAG_KEY;
++        pkt.flags |= AV_PKT_FLAG_KEY;
+         pkt.stream_index = video_st->index;
+         pkt.data = (uint8_t*)picture;
+         pkt.size = sizeof(AVPicture);
+@@ -840,7 +840,7 @@
+             (*ffmpeglib.p_av_init_packet)(&pkt);
+             pkt.pts = c->coded_frame->pts;
+             if (c->coded_frame->key_frame)
+-                pkt.flags |= PKT_FLAG_KEY;
++                pkt.flags |= AV_PKT_FLAG_KEY;
+             pkt.stream_index = video_st->index;
+             pkt.data = video_outbuf;
+             pkt.size = out_size;
This page took 0.106324 seconds and 4 git commands to generate.