~medibuntu-maintainers/mplayer/medibuntu.precise

« back to all changes in this revision

Viewing changes to libmpdemux/demux_rawdv.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2012-01-12 22:23:28 UTC
  • mfrom: (0.4.7 sid)
  • mto: This revision was merged to the branch mainline in revision 76.
  • Revision ID: package-import@ubuntu.com-20120112222328-8jqdyodym3p84ygu
Tags: 2:1.0~rc4.dfsg1+svn34540-1
* New upstream snapshot
* upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
   demux_packet_t* dp_video=NULL;
114
114
   sh_video_t *sh_video = demuxer->video->sh;
115
115
   int bytes_read=0;
116
 
//   fprintf(stderr,"demux_rawdv_fill_buffer() seek to %qu, size: %d\n",frames->current_filepos,frames->frame_size);
 
116
//   fprintf(stderr,"demux_rawdv_fill_buffer() seek to %llu, size: %d\n",frames->current_filepos,frames->frame_size);
117
117
   // fetch the frame from the file
118
118
   // first, position the file properly since ds_read_packet() doesn't
119
119
   // seem to do it, even though it takes a file offset as a parameter
205
205
   frames->frame_size=dv_decoder->frame_size;
206
206
   frames->frame_number=demuxer->stream->end_pos/frames->frame_size;
207
207
 
208
 
   mp_msg(MSGT_DEMUXER,MSGL_V,"demux_open_rawdv() seek to %qu, size: %d, dv_dec->frame_size: %d\n",frames->current_filepos,frames->frame_size, dv_decoder->frame_size);
 
208
   mp_msg(MSGT_DEMUXER,MSGL_V,"demux_open_rawdv() seek to %llu, size: %d, dv_dec->frame_size: %d\n",frames->current_filepos,frames->frame_size, dv_decoder->frame_size);
209
209
    if (dv_decoder->audio != NULL && demuxer->audio->id>=-1){
210
210
       sh_audio_t *sh_audio =  new_sh_audio(demuxer, 0, NULL);
211
211
       demuxer->audio->id = 0;