Thursday, 2013-08-01

*** tpb has joined #timvideos00:00
*** Jahanzeb has joined #timvideos00:27
*** mithro has quit IRC00:46
*** iiie0 has quit IRC01:45
*** hyades has quit IRC02:07
*** Jahanzeb has quit IRC02:40
*** hyades has joined #timvideos02:46
*** hyades has quit IRC03:08
*** hyades has joined #timvideos03:09
*** hyades has quit IRC03:37
*** hyades has joined #timvideos03:38
*** hyades has quit IRC03:54
mithro-work~seen parx04:45
tpbmithro-work: parx was last seen in #timvideos 2 days, 3 hours, 32 minutes, and 38 seconds ago: <parx> Sewar, we should make up for the meeting that was skipped for PyOhio.  Set a time with iiie when he returns.04:45
*** hyades has joined #timvideos05:01
*** shenki has quit IRC08:53
*** hyades has quit IRC08:56
*** hyades has joined #timvideos09:00
*** shenki has joined #timvideos09:43
*** Jahanzeb has joined #timvideos10:57
*** bananadine has joined #timvideos11:12
*** mithro has joined #timvideos11:28
mithrohello bananadine11:36
bananadinehi mithro11:36
bananadinei was looking for you yesterday11:36
mithroYou make any progress?11:37
bananadineno11:38
bananadinei'm still stuck with the internal data flow problem11:38
bananadinehttp://pastebin.com/bFsiYqgN11:38
tpbTitle: INFO [ 7817] jelly Jul 31 15:45:07 - Pastebin.com (at pastebin.com)11:38
mithroso what have you tried?11:39
bananadineprinting out probe id's11:40
bananadinei could only do it on one probe11:40
bananadinei mean, one probe id11:40
mithrobananadine, why?11:40
bananadinei don't know11:40
mithrobananadine, why not?11:41
bananadinehttps://github.com/bananadine/flumotion/blob/master/flumotion/component/feedcomponent.py#L98711:42
tpb<http://ln-s.net/-cne> (at github.com)11:42
bananadineit could only print out the id on this one11:42
bananadinei guess the code with the others doesn't run11:42
bananadinetried with an exception11:42
bananadineso if the exception didn't raise, the code does not run, right?11:44
mithrohighly likely11:44
bananadinei tired printing bp_id (buffer probe id) right after this line (with correct indent) https://github.com/bananadine/flumotion/blob/master/flumotion/component/feedcomponent.py#L106511:45
tpb<http://ln-s.net/-cnj> (at github.com)11:45
bananadinetired then with raising an exception and still nothing11:45
mithroummm11:45
mithrothere is a bug in that code11:45
bananadinei know11:46
bananadinei made it all messy11:46
bananadine:/11:46
mithrobananadine, so I think you should go back to looking at what the difference between this code and the original code is11:47
bananadinei'm doing this all the time11:47
bananadinelike11:47
bananadinei have both opened in my editor11:47
bananadinethere are a lot of differences11:47
bananadinemainly because everything probe related11:47
bananadineis done with add probe and remove probe now11:47
mithroyou know about side-by-side diff programs right?11:48
bananadinehaven't used one11:49
*** Jahanzeb has quit IRC11:49
mithrolooking at diffs by hand is very error prone11:49
bananadinemithro, which program should i install?11:50
mithromeld, vimdiff, tkdiff11:50
mithroand reduce the changes as much as possible11:57
*** shenki_ has joined #timvideos12:00
bananadineyes this is much nicer12:00
bananadinethe probe changes start from here12:01
bananadineunblock_eater12:01
bananadinehttps://github.com/bananadine/flumotion/blob/master/flumotion/component/feedcomponent.py#L66412:02
tpb<http://ln-s.net/-coA> (at github.com)12:02
bananadinethe probe callbacks should all be in this format:12:03
bananadine(GstPad *pad,12:04
bananadine                                                         GstPadProbeInfo *info,12:04
bananadine                                                         gpointer user_data);12:04
*** shenki has quit IRC12:04
bananadineis this right what i'm doing https://github.com/bananadine/flumotion/blob/master/flumotion/component/feedcomponent.py#L67412:06
tpb<http://ln-s.net/-coM> (at github.com)12:06
bananadineand then12:06
bananadinehttps://github.com/bananadine/flumotion/blob/master/flumotion/component/feedcomponent.py#L67512:06
tpb<http://ln-s.net/-coN> (at github.com)12:06
mithro674 and 675 are the same?12:08
bananadineyes with one difference12:09
bananadineon 674 i assign the value to a variable12:09
bananadinereturn value*12:09
mithroyes12:09
mithroyou can't do both though?12:09
bananadinewhat i wanted to ask is12:10
bananadinedo i need line 67512:10
mithroumm, what do you think?12:13
bananadinethat i don't need it12:13
bananadinei'm doing the same as the line above just not assigning to a variable12:13
mithrocorrect12:14
*** hyades has quit IRC12:21
bananadineugh12:21
bananadinethere's stuff that needs more porting12:22
bananadinewhich i can't find in the porting guide12:22
bananadinegoing to fire up ipython and find out the correct names12:23
bananadinemight need help from #gstreamer12:29
bananadinei can't find a replacement for gst.BUFFER_FLAG_IN_CAPS12:29
*** shenki_ has quit IRC12:45
*** shenki has joined #timvideos12:47
bananadinemithro, this uses as a callback function the same function it's in https://github.com/bananadine/flumotion/blob/master/flumotion/component/feedcomponent.py#L80112:56
bananadineand12:56
tpb<http://ln-s.net/-cpv> (at github.com)12:56
bananadinebuffer in def got_new_buffer(pad, buff, element):12:56
bananadineis in place of the PadProbeInfo argument12:57
bananadinewhich is wrong12:57
mithrobananadine, ?12:57
bananadinebuff*12:58
bananadinebuff shouldn't be a PadProbeInfo type12:58
mithroI have no idea, what does the documentation say?13:00
bananadinehttp://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#GstPadProbeCallback13:01
tpb<http://ln-s.net/-Vgh> (at gstreamer.freedesktop.org)13:01
*** shenki has quit IRC13:02
bananadinebuff uses functions like: set_caps , caps and there's buff.flag_is_set13:02
bananadinenone of which are characteristic to Gst.PadProbeInfo13:03
*** hyades has joined #timvideos13:03
*** shenki has joined #timvideos13:04
mithrobananadine, so what did the original code do?13:04
bananadinei tried to find out13:05
bananadinebut it won't get run13:05
*** CarlFK has quit IRC13:06
bananadinei guess it's not needed in the configuration i'm using13:06
bananadineor it swallows up the exception13:06
mithroso if it's not used by the configuration you are using - then what has changed, why is it getting executed now?13:07
bananadinei'm not talking about the whole component here13:08
bananadinei'm talking about this function13:08
bananadinehttps://github.com/bananadine/flumotion/blob/master/flumotion/component/feedcomponent.py#L78013:08
tpb<http://ln-s.net/-cqH> (at github.com)13:08
mithroif this function is never called, then?13:10
mithroand I think you probably want to look at13:11
mithrogst_pad_probe_info_get_buffer ()13:11
mithrobut there is no point at the moment trying to port code which is never called?13:11
bananadineoh yes13:12
bananadineit would be padprobeinfo in the argument and then change it to buffer in the function13:13
bananadinegood13:13
bananadinemithro, but look at this13:16
bananadinehttps://developer.gnome.org/gstreamer/0.10/gstreamer-GstBuffer.html13:16
tpb<http://ln-s.net/-cqd> (at developer.gnome.org)13:16
bananadinein 0.10 GstBuffer had those functions used in  got_new_buffer()13:17
bananadinebut now13:17
bananadinehttp://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html13:17
tpb<http://ln-s.net/-cqe> (at gstreamer.freedesktop.org)13:17
bananadinei can't find set_caps13:17
bananadinei can see that flag_is_set is there13:18
mithroLooks like caps is no longer a member13:19
bananadineGST_BUFFER_CAPS() is gone, caps are not set on buffers anymore but are set13:19
bananadine    on the pads where the buffer is pushed on. Likewise GST_BUFFER_COPY_CAPS is13:19
bananadine    not needed anymore. gst_buffer_get/set_caps() are gone too.13:19
bananadineyep13:19
*** hyades has quit IRC13:19
mithrobananadine, I can't make heads or tails of what the original function was trying to actually do13:29
bananadineall i can say is13:30
bananadinewhat i can read13:30
bananadineand i can read that the function is supposed to get a new buffer somehow?13:30
mithrobananadine, gst_pad_probe_info_get_buffer should convert the pad into a buff13:32
mithrohttps://github.com/timvideos/flumotion/commit/92370b0ab899d8853745ec4049a938036fee581a <-- that is the CL which adds the confusing code13:32
tpb<http://ln-s.net/-cr3> (at github.com)13:32
*** hyades has joined #timvideos13:33
bananadineright, but there wasn't a PadProbeInfo in gst 01.013:33
bananadine0.10*13:33
mithrobananadine, and?13:34
bananadineand there wasn't any gst_pad_probe_info_get_buffer, so there's this function13:36
bananadinegot_new_buffer()13:36
mithrobananadine, so I think we can just change this function to a logging message and "return True"13:36
*** hyades has quit IRC13:37
bananadineyou mean just comment out everything13:37
bananadineand return True13:38
mithroAnd put a "self.warning('Some message to go here')"13:38
bananadineok13:39
bananadineright, did that13:43
bananadineand as expected nothing changed in the outcome13:43
bananadineso i can cross this function off the suspect list13:44
bananadineand move down the code13:44
bananadinebut first i gotta go do something13:44
bananadinebbl13:44
mithrobananadine, moving down the code is not a good approach13:49
*** hyades has joined #timvideos13:55
bananadinemithro, what do you mean?14:19
*** hyades has quit IRC14:29
mithrobananadine, I mean going from the top of the file slowly down it is probably going to take a long time14:29
bananadinemithro, i'm only looking at the changes14:32
*** hyades has joined #timvideos14:33
bananadineand from where i'm looking now there are only 200 lines till the end14:33
mithrowell, I have to go to bed14:37
*** Jahanzeb has joined #timvideos14:37
*** hyades has quit IRC14:46
*** hyades has joined #timvideos14:48
bananadinewell14:51
bananadinegood night mithro14:51
*** hyades has quit IRC14:57
*** hyades has joined #timvideos15:16
*** hyades has quit IRC15:18
*** hyades has joined #timvideos15:18
*** hyades has quit IRC15:23
*** hyades has joined #timvideos15:25
*** bananadine has quit IRC15:28
*** hyades has quit IRC15:29
*** hyades has joined #timvideos15:30
*** hyades has quit IRC15:30
*** Jahanzeb has quit IRC15:39
*** hyades has joined #timvideos16:03
*** mithro has quit IRC16:08
*** parx has joined #timvideos17:43
*** Jahanzeb has joined #timvideos17:45
*** CarlFK has joined #timvideos18:01
*** iiie0 has joined #timvideos18:04
*** hyades_ has joined #timvideos18:10
*** hyades_ has quit IRC18:12
*** hyades_ has joined #timvideos18:13
*** hyades_ has quit IRC18:13
*** hyades_ has joined #timvideos18:14
*** CarlFK has quit IRC18:15
*** hyades_ has quit IRC18:18
*** Jahanzeb has quit IRC18:24
*** CarlFK has joined #timvideos18:40
*** hyades has quit IRC19:30
*** hyades has joined #timvideos19:32
*** hyades has quit IRC19:38
*** CarlFK has quit IRC19:53
*** hyades has joined #timvideos19:59
*** parx1 has joined #timvideos20:09
*** parx has quit IRC20:11
*** parx1 is now known as parx20:27
*** hyades has quit IRC20:40
*** hyades has joined #timvideos20:57
*** hyades has quit IRC21:33
*** parx has left #timvideos22:27
*** CarlFK has joined #timvideos23:05

Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!