~medibuntu-maintainers/mplayer/medibuntu.precise

« back to all changes in this revision

Viewing changes to input/appleir.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:
79
79
 
80
80
  if (dev)
81
81
  {
82
 
    mp_msg (MSGT_INPUT, MSGL_V, MSGTR_INPUT_APPLE_IR_Init, dev);
 
82
    mp_msg (MSGT_INPUT, MSGL_V, "Initializing Apple IR on %s\n", dev);
83
83
    fd = open (dev, O_RDONLY | O_NONBLOCK);
84
84
    if (fd < 0)
85
85
    {
108
108
          id.vendor  == USB_VENDOR_APPLE &&
109
109
          (id.product == USB_DEV_APPLE_IR ||id.product == USB_DEV_APPLE_IR_2))
110
110
      {
111
 
        mp_msg (MSGT_INPUT, MSGL_V, MSGTR_INPUT_APPLE_IR_Detect, file);
 
111
        mp_msg (MSGT_INPUT, MSGL_V, "Detected Apple IR on %s\n", file);
112
112
        return fd;
113
113
      }
114
114
      close (fd);