# Improve gstreamer missing message

**URL:** <https://www.ruby-forum.com/t/improve-gstreamer-missing-message/203272>\
**Category:** Ruby-Gnome 2\
**Created:** [February 16, 2011, 8:16pm UTC](https://www.ruby-forum.com/t/improve-gstreamer-missing-message/203272 "2011-02-16T20:16:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [February 16, 2011, 8:16pm UTC](https://www.ruby-forum.com/t/improve-gstreamer-missing-message/203272/1 "2011-02-16T20:16:27Z")

</div>

Hi.

Here is a patch so Gst::MissingMessage object can be created when  
receiving a missing message from C.

In C missing messages are messages with a GST\_MESSAGE\_ELEMENT type. I  
add a conditionnal structure to check whether the element message is a  
missing one or not.  
The ruby class Gst::MissingMessage is a child of Gst::MessageElement  
class.

Vincent C.

---

<div class="post-metadata">

**Author:** ![coubi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@coubi](https://www.ruby-forum.com/u/coubi)\
**Post date:** [February 17, 2011, 1:43pm UTC](https://www.ruby-forum.com/t/improve-gstreamer-missing-message/203272/2 "2011-02-17T13:43:11Z")

</div>

Hi,

In [AANLkTikgfF\_OZs8FPdN=removed\_email\_address@domain.invalid](mailto:AANLkTikgfF_OZs8FPdN=removed_email_address@domain.invalid)  
“[ruby-gnome2-devel-en] Improve gstreamer missing message” on Wed, 16  
Feb 2011 20:15:57 +0100,  
Vincent C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Here is a patch so Gst::MissingMessage object can be created when  
> receiving a missing message from C.
> 
> In C missing messages are messages with a GST\_MESSAGE\_ELEMENT type. I  
> add a conditionnal structure to check whether the element message is a  
> missing one or not.  
> The ruby class Gst::MissingMessage is a child of Gst::MessageElement class.

Thanks!  
I’ve merged your diff!

–  
kou
