mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
Changed sanity checks according to BBB feedback
Original commit message from CVS: Changed sanity checks according to BBB feedback
This commit is contained in:
parent
170d570045
commit
fc4fc12867
1 changed files with 4 additions and 2 deletions
|
@ -154,8 +154,8 @@ gst_play_set_property ( GObject *object,
|
||||||
{
|
{
|
||||||
GstPlay *play;
|
GstPlay *play;
|
||||||
g_return_if_fail (object != NULL);
|
g_return_if_fail (object != NULL);
|
||||||
|
g_return_if_fail (GST_IS_PLAY (object));
|
||||||
play = GST_PLAY (object);
|
play = GST_PLAY (object);
|
||||||
g_return_if_fail (GST_IS_PLAY (play));
|
|
||||||
|
|
||||||
switch (prop_id) {
|
switch (prop_id) {
|
||||||
case ARG_LOCATION:
|
case ARG_LOCATION:
|
||||||
|
@ -181,8 +181,8 @@ gst_play_get_property ( GObject *object,
|
||||||
{
|
{
|
||||||
GstPlay *play;
|
GstPlay *play;
|
||||||
g_return_if_fail (object != NULL);
|
g_return_if_fail (object != NULL);
|
||||||
|
g_return_if_fail (GST_IS_PLAY (object));
|
||||||
play = GST_PLAY (object);
|
play = GST_PLAY (object);
|
||||||
g_return_if_fail (GST_IS_PLAY (play));
|
|
||||||
|
|
||||||
switch (prop_id) {
|
switch (prop_id) {
|
||||||
case ARG_LOCATION:
|
case ARG_LOCATION:
|
||||||
|
@ -513,6 +513,8 @@ callback_pipeline_state_change ( GstElement *element,
|
||||||
static void
|
static void
|
||||||
gst_play_dispose (GObject *object)
|
gst_play_dispose (GObject *object)
|
||||||
{
|
{
|
||||||
|
g_return_if_fail (object != NULL);
|
||||||
|
g_return_if_fail (GST_IS_PLAY(object));
|
||||||
GstPlay *play = GST_PLAY (object);
|
GstPlay *play = GST_PLAY (object);
|
||||||
|
|
||||||
/* Removing all sources */
|
/* Removing all sources */
|
||||||
|
|
Loading…
Reference in a new issue