~ubuntu-branches/ubuntu/trusty/libav/trusty-proposed

« back to all changes in this revision

Viewing changes to libavdevice/dv1394.h

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2013-10-22 23:24:08 UTC
  • mfrom: (1.3.36 sid)
  • Revision ID: package-import@ubuntu.com-20131022232408-b8tvvn4pyzri9mi3
Tags: 6:9.10-1ubuntu1
* Build all -extra flavors from this source package, as libav got demoted
  from main to universe, cf LP: #1243235
* Simplify debian/rules to follow exactly the code that debian executes
* New upstream (LP: #1180288) fixes lots of security issues (LP: #1242802)
* Merge from unstable, remaining changes:
  - build-depend on libtiff5-dev rather than libtiff4-dev,
    avoids FTBFS caused by imlib
  - follow the regular debian codepaths

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
         if(status.dropped_frames > 0) {
176
176
              reset_dv1394();
177
177
         } else {
178
 
              for(int i = 0; i < status.n_clear_frames; i++) {
 
178
              int i;
 
179
              for (i = 0; i < status.n_clear_frames; i++) {
179
180
                  copy_DV_frame();
180
181
              }
181
182
         }
185
186
   where copy_DV_frame() reads or writes on the dv1394 file descriptor
186
187
   (read/write mode) or copies data to/from the mmap ringbuffer and
187
188
   then calls ioctl(DV1394_SUBMIT_FRAMES) to notify dv1394 that new
188
 
   frames are availble (mmap mode).
 
189
   frames are available (mmap mode).
189
190
 
190
191
   reset_dv1394() is called in the event of a buffer
191
192
   underflow/overflow or a halt in the DV stream (e.g. due to a 1394