Re: dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope

"Martin Gansser" <[email protected]> Wed, 10 Oct 2018 11:46:29 +0200
Newsgroups gmane.linux.vdr
Message-ID <trinity-a67f3523-924e-4ec9-a042-860e5c893105-1539164789063@3c-app-gmx-bs80>
I have contacted Andreas.


On advice of Andreas, I have defined the IOCTL myself in the file dvbhdffdevice.h

this is the Patch: define_AUDIO_GET_PTS.patch
with this patch i get this warnings: [2]

--- vdr-2.4.0/PLUGINS/src/dvbhddevice/dvbhdffdevice.h.orig	2018-10-10 09:03:47.464147905 +0200
+++ vdr-2.4.0/PLUGINS/src/dvbhddevice/dvbhdffdevice.h	2018-10-10 09:04:59.353350738 +0200
@@ -4,6 +4,9 @@
  * See the README file for copyright information and how to reach the author.
  */
 
+#ifndef AUDIO_GET_PTS              _IOR('o', 19, __u64)
+#define AUDIO_GET_PTS              _IOR('o', 19, __u64)
+#endif
 #ifndef __DVBHDFFDEVICE_H
 #define __DVBHDFFDEVICE_H


when the patch only have this line:
+#define AUDIO_GET_PTS              _IOR('o', 19, __u64)
it compiles without warnings: [1]

[1] https://kojipkgs.fedoraproject.org//work/tasks/9241/30159241/build.log
[2] https://kojipkgs.fedoraproject.org//work/tasks/9649/30159649/build.log

what is correct ?

Thanks Martin
 

Gesendet: Dienstag, 09. Oktober 2018 um 11:31 Uhr
Von: "Klaus Schmidinger" <[email protected]>
An: [email protected]
Betreff: Re: [vdr] dvbhdffdevice.c:569:33: error: 'AUDIO_GET_PTS' was not declared in this scope
On 10/9/18 10:27 AM, Martin Gansser wrote:
> Hello Klaus,
>
> will you provide a kernel> = 4.8 patch or will I need to contact the kernel developer for this?

Hello Martin,

please contact Andreas Regel <[email protected]> about this.
He maintains the dvbhddevice plugin.

Greetings
Klaus

_______________________________________________
vdr mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

_______________________________________________
vdr mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr