59 lines
1.7 KiB
C++
59 lines
1.7 KiB
C++
|
|
/*
|
||
|
|
STypeManager - entry point for dealing with media stream types
|
||
|
|
|
||
|
|
Copyright (C) Lumiera.org
|
||
|
|
2008, Hermann Vosseler <Ichthyostega@web.de>
|
||
|
|
|
||
|
|
This program is free software; you can redistribute it and/or
|
||
|
|
modify it under the terms of the GNU General Public License as
|
||
|
|
published by the Free Software Foundation; either version 2 of the
|
||
|
|
License, or (at your option) any later version.
|
||
|
|
|
||
|
|
This program is distributed in the hope that it will be useful,
|
||
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
|
GNU General Public License for more details.
|
||
|
|
|
||
|
|
You should have received a copy of the GNU General Public License
|
||
|
|
along with this program; if not, write to the Free Software
|
||
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||
|
|
|
||
|
|
* *****************************************************/
|
||
|
|
|
||
|
|
|
||
|
|
#include "proc/lumiera.hpp"
|
||
|
|
#include "lib/external/libgavl.hpp"
|
||
|
|
|
||
|
|
extern "C" {
|
||
|
|
#include <gavl/gavl.h>
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
namespace lib {
|
||
|
|
namespace external {
|
||
|
|
|
||
|
|
namespace { // implementation internals
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Use an type information struct, which actually has to be
|
||
|
|
* a GAVL frametype (TODO), to wire up an ImplFacade such
|
||
|
|
* as to deal with GAVL data frames of this type.
|
||
|
|
* @todo fill in the acutal GAVL frame type
|
||
|
|
* @todo how to distinguish the audio and the video case?
|
||
|
|
*/
|
||
|
|
ImplFacadeGAVL const&
|
||
|
|
LibGavl::getImplFacade (TypeTag*)
|
||
|
|
{
|
||
|
|
TODO ("any chance to verify that the TypeTag actually points to a GAVL frame type descriptor?");
|
||
|
|
UNIMPLEMENTED ("wire up an impl facade with the correct GAVL lib functions for the data type in question");
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
} // namespace external
|
||
|
|
|
||
|
|
} // namespace lib
|