39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
|
--- gegl-0.1.8.orig/operations/workshop/external/ff-save.c 2012-02-11 15:53:58.347480007 +0100
|
||
|
+++ gegl-0.1.8/operations/workshop/external/ff-save.c 2012-02-11 15:55:57.422072494 +0100
|
||
|
@@ -455,7 +455,7 @@
|
||
|
p->audio_outbuf_size, p->samples);
|
||
|
|
||
|
pkt.pts = c->coded_frame->pts;
|
||
|
- pkt.flags |= PKT_FLAG_KEY;
|
||
|
+ pkt.flags |= AV_PKT_FLAG_KEY;
|
||
|
pkt.stream_index = st->index;
|
||
|
pkt.data = p->audio_outbuf;
|
||
|
|
||
|
@@ -496,7 +496,7 @@
|
||
|
|
||
|
c = st->codec;
|
||
|
c->codec_id = codec_id;
|
||
|
- c->codec_type = CODEC_TYPE_VIDEO;
|
||
|
+ c->codec_type = AVMEDIA_TYPE_VIDEO;
|
||
|
|
||
|
/* put sample propeters */
|
||
|
c->bit_rate = op->bitrate;
|
||
|
@@ -689,7 +689,7 @@
|
||
|
AVPacket pkt;
|
||
|
av_init_packet (&pkt);
|
||
|
|
||
|
- pkt.flags |= PKT_FLAG_KEY;
|
||
|
+ pkt.flags |= AV_PKT_FLAG_KEY;
|
||
|
pkt.stream_index = st->index;
|
||
|
pkt.data = (uint8_t *) picture_ptr;
|
||
|
pkt.size = sizeof (AVPicture);
|
||
|
@@ -712,7 +712,7 @@
|
||
|
|
||
|
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 = st->index;
|
||
|
pkt.data = p->video_outbuf;
|
||
|
pkt.size = out_size;
|