~ubuntu-branches/ubuntu/saucy/gst-libav1.0/saucy-proposed

« back to all changes in this revision

Viewing changes to gst-libs/ext/libav/libavformat/ivfenc.c

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2013-07-30 09:00:15 UTC
  • mfrom: (1.1.16) (7.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20130730090015-sc1ou2yssu7q5w4e
Tags: 1.1.3-1
* New upstream development snapshot:
  + debian/control:
    - Build depend on GStreamer and gst-plugins-base >= 1.1.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
        return AVERROR(EINVAL);
31
31
    }
32
32
    ctx = s->streams[0]->codec;
33
 
    if (ctx->codec_type != AVMEDIA_TYPE_VIDEO || ctx->codec_id != CODEC_ID_VP8) {
 
33
    if (ctx->codec_type != AVMEDIA_TYPE_VIDEO || ctx->codec_id != AV_CODEC_ID_VP8) {
34
34
        av_log(s, AV_LOG_ERROR, "Currently only VP8 is supported!\n");
35
35
        return AVERROR(EINVAL);
36
36
    }
59
59
}
60
60
 
61
61
AVOutputFormat ff_ivf_muxer = {
62
 
    .name = "ivf",
63
 
    .long_name = NULL_IF_CONFIG_SMALL("On2 IVF"),
64
 
    .extensions = "ivf",
65
 
    .audio_codec = CODEC_ID_NONE,
66
 
    .video_codec = CODEC_ID_VP8,
 
62
    .name         = "ivf",
 
63
    .long_name    = NULL_IF_CONFIG_SMALL("On2 IVF"),
 
64
    .extensions   = "ivf",
 
65
    .audio_codec  = AV_CODEC_ID_NONE,
 
66
    .video_codec  = AV_CODEC_ID_VP8,
67
67
    .write_header = ivf_write_header,
68
68
    .write_packet = ivf_write_packet,
69
69
};