mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.6 KiB

  1. diff --git a/libavdevice/dv1394.h b/libavdevice/dv1394.h
  2. index 9a4ee2a..590b5d8 100644
  3. --- a/libavdevice/dv1394.h
  4. +++ b/libavdevice/dv1394.h
  5. @@ -219,37 +219,37 @@ enum {
  6. /* get the driver ready to transmit video.
  7. pass a struct dv1394_init* as the parameter (see below),
  8. or NULL to get default parameters */
  9. - DV1394_INIT,
  10. + DV1394_INIT = 0x401c2306,
  11. /* stop transmitting video and free the ringbuffer */
  12. - DV1394_SHUTDOWN,
  13. + DV1394_SHUTDOWN = 0x00002307,
  14. /* submit N new frames to be transmitted, where
  15. the index of the first new frame is first_clear_buffer,
  16. and the index of the last new frame is
  17. (first_clear_buffer + N) % n_frames */
  18. - DV1394_SUBMIT_FRAMES,
  19. + DV1394_SUBMIT_FRAMES = 0x00002308,
  20. /* block until N buffers are clear (pass N as the parameter)
  21. Because we re-transmit the last frame on underrun, there
  22. will at most be n_frames - 1 clear frames at any time */
  23. - DV1394_WAIT_FRAMES,
  24. + DV1394_WAIT_FRAMES = 0x00002309,
  25. /* capture new frames that have been received, where
  26. the index of the first new frame is first_clear_buffer,
  27. and the index of the last new frame is
  28. (first_clear_buffer + N) % n_frames */
  29. - DV1394_RECEIVE_FRAMES,
  30. + DV1394_RECEIVE_FRAMES = 0x0000230a,
  31. - DV1394_START_RECEIVE,
  32. + DV1394_START_RECEIVE = 0x0000230b,
  33. /* pass a struct dv1394_status* as the parameter (see below) */
  34. - DV1394_GET_STATUS,
  35. + DV1394_GET_STATUS = 0x802c230c,
  36. };