Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gst-plugins-good
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marc-André Lureau
gst-plugins-good
Commits
c4161b3c
Commit
c4161b3c
authored
Mar 22, 2010
by
Benjamin Otte
Committed by
Tim-Philipp Müller
Apr 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add -Wwrite-strings
and fix its warnings
parent
62be9170
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
gst/quicktime/atoms.c
gst/quicktime/atoms.c
+1
-1
gst/quicktime/gstqtmuxmap.h
gst/quicktime/gstqtmuxmap.h
+3
-3
tests/check/elements/qtmux.c
tests/check/elements/qtmux.c
+4
-4
No files found.
gst/quicktime/atoms.c
View file @
c4161b3c
...
...
@@ -2817,7 +2817,7 @@ atom_hdlr_set_type (AtomHDLR * hdlr, AtomsContext * context, guint32 comp_type,
}
static
void
atom_hdlr_set_name
(
AtomHDLR
*
hdlr
,
char
*
name
)
atom_hdlr_set_name
(
AtomHDLR
*
hdlr
,
c
onst
c
har
*
name
)
{
if
(
hdlr
->
name
)
g_free
(
hdlr
->
name
);
...
...
gst/quicktime/gstqtmuxmap.h
View file @
c4161b3c
...
...
@@ -61,9 +61,9 @@ typedef enum _GstQTMuxFormat
typedef
struct
_GstQTMuxFormatProp
{
GstQTMuxFormat
format
;
gchar
*
name
;
gchar
*
long_name
;
gchar
*
type_name
;
const
gchar
*
name
;
const
gchar
*
long_name
;
const
gchar
*
type_name
;
GstStaticCaps
src_caps
;
GstStaticCaps
video_sink_caps
;
GstStaticCaps
audio_sink_caps
;
...
...
tests/check/elements/qtmux.c
View file @
c4161b3c
...
...
@@ -58,7 +58,7 @@ static GstStaticPadTemplate srcaudiotemplate = GST_STATIC_PAD_TEMPLATE ("src",
/* setup and teardown needs some special handling for muxer */
static
GstPad
*
setup_src_pad
(
GstElement
*
element
,
GstStaticPadTemplate
*
template
,
GstCaps
*
caps
,
gchar
*
sinkname
)
GstStaticPadTemplate
*
template
,
GstCaps
*
caps
,
const
gchar
*
sinkname
)
{
GstPad
*
srcpad
,
*
sinkpad
;
...
...
@@ -111,7 +111,7 @@ teardown_src_pad (GstPad * srcpad)
}
static
GstElement
*
setup_qtmux
(
GstStaticPadTemplate
*
srctemplate
,
gchar
*
sinkname
)
setup_qtmux
(
GstStaticPadTemplate
*
srctemplate
,
const
gchar
*
sinkname
)
{
GstElement
*
qtmux
;
...
...
@@ -126,7 +126,7 @@ setup_qtmux (GstStaticPadTemplate * srctemplate, gchar * sinkname)
}
static
void
cleanup_qtmux
(
GstElement
*
qtmux
,
gchar
*
sinkname
)
cleanup_qtmux
(
GstElement
*
qtmux
,
const
gchar
*
sinkname
)
{
GST_DEBUG
(
"cleanup_qtmux"
);
gst_element_set_state
(
qtmux
,
GST_STATE_NULL
);
...
...
@@ -139,7 +139,7 @@ cleanup_qtmux (GstElement * qtmux, gchar * sinkname)
}
static
void
check_qtmux_pad
(
GstStaticPadTemplate
*
srctemplate
,
gchar
*
sinkname
)
check_qtmux_pad
(
GstStaticPadTemplate
*
srctemplate
,
const
gchar
*
sinkname
)
{
GstElement
*
qtmux
;
GstBuffer
*
inbuffer
,
*
outbuffer
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment