Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-base
Commits
a8396ce5
Commit
a8396ce5
authored
May 06, 2014
by
Tim-Philipp Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "playback-test: Set buffer-size only for non-negative size"
This reverts commit
07a637e2
.
parent
07a637e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
tests/examples/playback/playback-test.c
tests/examples/playback/playback-test.c
+2
-3
No files found.
tests/examples/playback/playback-test.c
View file @
a8396ce5
...
...
@@ -2131,8 +2131,7 @@ realize_cb (GtkWidget * widget, PlaybackApp * app)
#if defined (GDK_WINDOWING_WIN32)
app
->
embed_xid
=
(
guintptr
)
GDK_WINDOW_HWND
(
window
);
g_print
(
"Window realize: video window HWND = %"
G_GUINTPTR_FORMAT
"
\n
"
,
app
->
embed_xid
);
g_print
(
"Window realize: video window HWND = %"
G_GUINTPTR_FORMAT
"
\n
"
,
app
->
embed_xid
);
#elif defined (GDK_WINDOWING_QUARTZ)
app
->
embed_xid
=
(
guintptr
)
gdk_quartz_window_get_nsview
(
window
);
g_print
(
"Window realize: video window NSView = %p
\n
"
,
app
->
embed_xid
);
...
...
@@ -2422,7 +2421,7 @@ buffer_size_activate_cb (GtkEntry * entry, PlaybackApp * app)
gchar
*
endptr
;
v
=
g_ascii_strtoll
(
text
,
&
endptr
,
10
);
if
(
endptr
!=
text
&&
v
!=
G_MAXINT64
&&
v
!=
G_MININT64
&&
v
>=
0
)
{
if
(
endptr
!=
text
&&
v
!=
G_MAXINT64
&&
v
!=
G_MININT64
)
{
g_object_set
(
app
->
pipeline
,
"buffer-size"
,
v
,
NULL
);
}
}
...
...
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