1 /*
2 * Copyright 2009-2010, Stephan Aßmus <superstippi@gmx.de>.
3 * Distributed under the terms of the MIT License.
4 *
5 * Copyright 2004, Marcus Overhagen. All rights reserved.
6 * Distributed under the terms of the MIT License.
7 */
8
9 #include "ReaderPlugin.h"
10
11 #include <stdio.h>
12
13
Reader()14 Reader::Reader()
15 :
16 fSource(NULL),
17 fMediaPlugin(NULL)
18 {
19 }
20
21
~Reader()22 Reader::~Reader()
23 {
24 }
25
26
27 status_t
GetMetaData(BMessage * _data)28 Reader::GetMetaData(BMessage* _data)
29 {
30 return B_NOT_SUPPORTED;
31 }
32
33
34 status_t
Seek(void * cookie,uint32 flags,int64 * frame,bigtime_t * time)35 Reader::Seek(void* cookie, uint32 flags, int64* frame, bigtime_t* time)
36 {
37 return B_NOT_SUPPORTED;
38 }
39
40
41 status_t
FindKeyFrame(void * cookie,uint32 flags,int64 * frame,bigtime_t * time)42 Reader::FindKeyFrame(void* cookie, uint32 flags, int64* frame, bigtime_t* time)
43 {
44 return B_NOT_SUPPORTED;
45 }
46
47
48 status_t
GetStreamMetaData(void * cookie,BMessage * _data)49 Reader::GetStreamMetaData(void* cookie, BMessage* _data)
50 {
51 return B_NOT_SUPPORTED;
52 }
53
54
55 BDataIO*
Source() const56 Reader::Source() const
57 {
58 return fSource;
59 }
60
61
62 void
Setup(BDataIO * source)63 Reader::Setup(BDataIO *source)
64 {
65 fSource = source;
66 }
67
68
69 status_t
Perform(perform_code code,void * _data)70 Reader::Perform(perform_code code, void* _data)
71 {
72 return B_OK;
73 }
74
75
_ReservedReader1()76 void Reader::_ReservedReader1() {}
_ReservedReader2()77 void Reader::_ReservedReader2() {}
_ReservedReader3()78 void Reader::_ReservedReader3() {}
_ReservedReader4()79 void Reader::_ReservedReader4() {}
_ReservedReader5()80 void Reader::_ReservedReader5() {}
81
82