diff options
Diffstat (limited to 'misc/avdetector.h')
-rw-r--r-- | misc/avdetector.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/misc/avdetector.h b/misc/avdetector.h index 0b8bb81..b043c59 100644 --- a/misc/avdetector.h +++ b/misc/avdetector.h @@ -10,10 +10,29 @@ #include "../database/object.h" +/** + * The audio/video detector + * + * This is the audio video detector, which analizes the audio and video stream + * of a file to gather more information about the resource. This is also + * required for determination of a suitable DLNA profile. + */ class cAudioVideoDetector { public: cAudioVideoDetector(){}; virtual ~cAudioVideoDetector(){}; + /** + * Detect video properties + * + * This detects video properties of a video stream and stores them in the + * Resource object. + * + * @param Resource the resource, where to save the data + * @param Filename the file, which shall be read + * @return returns + * - \bc 0, if the detection was successful + * - \bc <0, otherwise + */ int detectVideoProperties(cUPnPResource* Resource, const char* Filename); private: }; |