Open Broadcaster Software
Free, open source software for live streaming and recording
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
media-remux.h
Go to the documentation of this file.
1
/******************************************************************************
2
Copyright (C) 2014 by Ruwen Hahn <palana@stunned.de>
3
4
This program is free software: you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation, either version 2 of the License, or
7
(at your option) any later version.
8
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with this program. If not, see <http://www.gnu.org/licenses/>.
16
******************************************************************************/
17
18
#include "../util/c99defs.h"
19
20
#pragma once
21
22
struct
media_remux_job;
23
typedef
struct
media_remux_job *
media_remux_job_t
;
24
25
typedef
bool
(
media_remux_progress_callback
)(
void
*data,
float
percent);
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
31
EXPORT
bool
media_remux_job_create
(
media_remux_job_t
*job,
32
const
char
*in_filename,
const
char
*out_filename);
33
EXPORT
bool
media_remux_job_process
(
media_remux_job_t
job,
34
media_remux_progress_callback
callback,
void
*data);
35
EXPORT
void
media_remux_job_destroy
(
media_remux_job_t
job);
36
37
#ifdef __cplusplus
38
}
39
#endif
media_remux_job_create
EXPORT bool media_remux_job_create(media_remux_job_t *job, const char *in_filename, const char *out_filename)
media_remux_job_destroy
EXPORT void media_remux_job_destroy(media_remux_job_t job)
media_remux_job_t
struct media_remux_job * media_remux_job_t
Definition:
media-remux.h:23
EXPORT
#define EXPORT
Definition:
c99defs.h:49
media_remux_job_process
EXPORT bool media_remux_job_process(media_remux_job_t job, media_remux_progress_callback callback, void *data)
media_remux_progress_callback
bool( media_remux_progress_callback)(void *data, float percent)
Definition:
media-remux.h:25
bool
#define bool
Definition:
vc_stdbool.h:5
libobs
media-io
media-remux.h
Generated on Mon May 28 2018 08:43:10 for Open Broadcaster Software by
1.8.5