gmerlin

edl.h

00001 /*****************************************************************
00002  * gmerlin - a general purpose multimedia framework and applications
00003  *
00004  * Copyright (c) 2001 - 2012 Members of the Gmerlin project
00005  * gmerlin-general@lists.sourceforge.net
00006  * http://gmerlin.sourceforge.net
00007  *
00008  * This program is free software: you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation, either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00020  * *****************************************************************/
00021 
00022 #ifndef __BG_EDL_H_
00023 #define __BG_EDL_H_
00024 
00025 #include <gmerlin/parameter.h>
00026 #include <gmerlin/streaminfo.h>
00027 #include <gavl/edl.h>
00028 
00061 void bg_edl_save(const gavl_edl_t * e, const char * filename);
00062 
00068 gavl_edl_t * bg_edl_load(const char * filename);
00069 
00087 void bg_edl_append_track_info(gavl_edl_t * e,
00088                               const bg_track_info_t * info, const char * url,
00089                               int index, int num_tracks, const char * name);
00090 
00106 void bg_edl_track_append_track_info(gavl_edl_t * e, gavl_edl_track_t * track,
00107                                     const bg_track_info_t * info,
00108                                     const char * url, int index, int total_tracks,
00109                                     const char * name);
00110 
00111 
00117 #endif // __BG_EDL_H_