~ubuntu-branches/ubuntu/intrepid/gstreamer0.10-ffmpeg/intrepid

« back to all changes in this revision

Viewing changes to gst-libs/ext/ffmpeg/libavformat/dv1394.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-12-13 23:10:28 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20061213231028-gb7p40u24i5dk331
Tags: 0.10.2-0ubuntu1
* Sync with pkg-gstreamer SVN:
  + debian/rules:
    - Enable the encoders again
* debian/control:
  + Add part about encoders to the description again

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
            return AVERROR_IO;
174
174
        }
175
175
#ifdef DV1394_DEBUG
176
 
        fprintf(stderr, "DV1394: status\n"
 
176
        av_log(context, AV_LOG_DEBUG, "DV1394: status\n"
177
177
                "\tactive_frame\t%d\n"
178
178
                "\tfirst_clear_frame\t%d\n"
179
179
                "\tn_clear_frames\t%d\n"
196
196
    }
197
197
 
198
198
#ifdef DV1394_DEBUG
199
 
    fprintf(stderr, "index %d, avail %d, done %d\n", dv->index, dv->avail,
 
199
    av_log(context, AV_LOG_DEBUG, "index %d, avail %d, done %d\n", dv->index, dv->avail,
200
200
            dv->done);
201
201
#endif
202
202
 
227
227
    return 0;
228
228
}
229
229
 
230
 
static AVInputFormat dv1394_format = {
 
230
AVInputFormat dv1394_demuxer = {
231
231
    .name           = "dv1394",
232
232
    .long_name      = "dv1394 A/V grab",
233
233
    .priv_data_size = sizeof(struct dv1394_data),
236
236
    .read_close     = dv1394_close,
237
237
    .flags          = AVFMT_NOFILE
238
238
};
239
 
 
240
 
int dv1394_init(void)
241
 
{
242
 
    av_register_input_format(&dv1394_format);
243
 
    return 0;
244
 
}