# \[patch\] Sink floating gstreamer objects

**URL:** <https://www.ruby-forum.com/t/patch-sink-floating-gstreamer-objects/133270>\
**Category:** Ruby-Gnome 2\
**Created:** [March 29, 2008, 5:05pm UTC](https://www.ruby-forum.com/t/patch-sink-floating-gstreamer-objects/133270 "2008-03-29T17:05:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sschunselaar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@sschunselaar](https://www.ruby-forum.com/u/sschunselaar)\
**Post date:** [March 29, 2008, 5:05pm UTC](https://www.ruby-forum.com/t/patch-sink-floating-gstreamer-objects/133270/1 "2008-03-29T17:05:08Z")

</div>

Hi,

Attached is the first patch in my patchset intended to merge both  
current  
gstreamer bindings into one with the best of both 🙂 Please review and  
let me  
know if it’s ok to commit?

See the patch itself for details. It does make me wonder if  
rbgobj\_get\_value\_from\_gobject shouldn’t be in rbgst.h instead of  
rbgprivate.h? Because at this point it’s not possible to compile the  
gstreamer bindings without having the glib2 source.

Sjoerd  
PS: For those who wondering i’m using git-svn for my patch management,  
which  
shows up in the diff. But it doesn’t make any difference when committing  
to  
svn.

---

<div class="post-metadata">

**Author:** ![sschunselaar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@sschunselaar](https://www.ruby-forum.com/u/sschunselaar)\
**Post date:** [March 29, 2008, 7:01pm UTC](https://www.ruby-forum.com/t/patch-sink-floating-gstreamer-objects/133270/2 "2008-03-29T19:01:10Z")

</div>

> PS: For those who wondering i’m using git-svn for my patch management, which

Interesting. Do you have any pointer explaining the advantages of doing  
so?

–  
Guillaume C. - [Guillaume Cottenceau](http://zarb.org/~gc/)

---

<div class="post-metadata">

**Author:** ![sschunselaar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@sschunselaar](https://www.ruby-forum.com/u/sschunselaar)\
**Post date:** [March 29, 2008, 8:36pm UTC](https://www.ruby-forum.com/t/patch-sink-floating-gstreamer-objects/133270/3 "2008-03-29T20:36:06Z")

</div>

On Sat, Mar 29, 2008 at 07:00:40PM +0100, Guillaume C. wrote:

> > PS: For those who wondering i’m using git-svn for my patch management, which
> 
> Interesting. Do you have any pointer explaining the advantages of doing so?

See [git-svn(1)](http://www.kernel.org/pub/software/scm/git/docs/git-svn.html) for a  
description of git-svn. The advantages of doing so is basically get all  
advantages of using a DVCS while the main branch is still in svn. I’m  
sure you  
can find more then enough articles on the web describing the advantages  
of a  
DVCS. But what is most important for me is that i can commit patches  
locally  
and then after review can push them upstream without loosing meta-data

## Sjoerd

Everything that can be invented has been invented.  
– Charles Duell, Director of U.S. Patent Office, 1899

---

<div class="post-metadata">

**Author:** ![sschunselaar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@sschunselaar](https://www.ruby-forum.com/u/sschunselaar)\
**Post date:** [March 30, 2008, 12:35am UTC](https://www.ruby-forum.com/t/patch-sink-floating-gstreamer-objects/133270/4 "2008-03-30T00:35:10Z")

</div>

Sjoerd S. wrote:

> On Sat, Mar 29, 2008 at 07:00:40PM +0100, Guillaume C. wrote:
> 
> > > PS: For those who wondering i’m using git-svn for my patch management, which
> > 
> > Interesting. Do you have any pointer explaining the advantages of doing so?
> 
> See [git-svn(1)](http://www.kernel.org/pub/software/scm/git/docs/git-svn.html) for a  
> description of git-svn. The advantages of doing so is basically get all  
> advantages of using a DVCS while the main branch is still in svn. I’m  
> sure you  
> can find more then enough articles on the web describing the advantages  
> of a  
> DVCS. But what is most important for me is that i can commit patches  
> locally  
> and then after review can push them upstream without loosing meta-data
> 
> ## Sjoerd
> 
> Everything that can be invented has been invented.  
> – Charles Duell, Director of U.S. Patent Office, 1899

Hi Sjoerd,

Nice. I’m very interested. What changes are you going to make? iow: what  
are the advantages of the “other” ruby gstreamer bindings?

Oh, and welcome to the cool-kid git club 🙂

---

<div class="post-metadata">

**Author:** ![sschunselaar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@sschunselaar](https://www.ruby-forum.com/u/sschunselaar)\
**Post date:** [March 30, 2008, 12:27am UTC](https://www.ruby-forum.com/t/patch-sink-floating-gstreamer-objects/133270/5 "2008-03-30T00:27:40Z")

</div>

Hi,

In [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
“[ruby-gnome2-devel-en] [patch] Sink floating gstreamer objects” on  
Sat, 29 Mar 2008 17:04:34 +0100,  
Sjoerd S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> See the patch itself for details. It does make me wonder if  
> rbgobj\_get\_value\_from\_gobject shouldn’t be in rbgst.h instead of  
> rbgprivate.h? Because at this point it’s not possible to compile the  
> gstreamer bindings without having the glib2 source.

I’ve exported the function.

> #define GST\_TAG\_LIST\_STRUCTURE\_NAME “taglist”  
> Don’t export rbgst\_object\_instance2robj(). Use  
> rbgst-private.h. Others are OK for me.

## Thanks,

kou

---

<div class="post-metadata">

**Author:** ![sschunselaar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@sschunselaar](https://www.ruby-forum.com/u/sschunselaar)\
**Post date:** [April 5, 2008, 6:25pm UTC](https://www.ruby-forum.com/t/patch-sink-floating-gstreamer-objects/133270/6 "2008-04-05T18:25:45Z")

</div>

On Sun, Mar 30, 2008 at 08:27:21AM +0900, Kouhei S. wrote:

> > - 
> > 
> > #define GST\_TAG\_LIST\_STRUCTURE\_NAME “taglist”
> 
> Don’t export rbgst\_object\_instance2robj(). Use  
> rbgst-private.h. Others are OK for me.

Ok comitted with that change

## Sjoerd

In 1750 Issac Newton became discouraged when he fell up a flight of  
stairs.
