Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Val Doroshchuk
qtgstreamerextras
Commits
6d2c5280
Commit
6d2c5280
authored
Dec 17, 2018
by
Val Doroshchuk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor
parent
2dbfd135
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/gstreamerextras/qgstreamerappsrc.cpp
src/gstreamerextras/qgstreamerappsrc.cpp
+2
-1
No files found.
src/gstreamerextras/qgstreamerappsrc.cpp
View file @
6d2c5280
...
...
@@ -78,6 +78,7 @@ void QGstreamerAppSrcPrivate::restart(QVideoFrame &frame)
g_object_set
(
G_OBJECT
(
appsrc
),
"caps"
,
caps
,
NULL
);
gst_caps_unref
(
caps
);
size
=
frame
.
size
();
}
static
void
start_feed
(
GstElement
*
pipeline
,
guint
size
,
QGstreamerAppSrc
*
q
)
...
...
@@ -148,7 +149,7 @@ void QGstreamerAppSrc::timerEvent(QTimerEvent *event)
GstFlowReturn
ret
;
g_signal_emit_by_name
(
d
->
appsrc
,
"push-buffer"
,
app_buffer
,
&
ret
);
if
(
ret
!=
GST_FLOW_OK
)
{
qWarning
()
<<
"Error has occured while pushing a buffer"
;
qWarning
()
<<
"Error has occur
r
ed while pushing a buffer"
;
stopFeed
();
}
...
...
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